Spaces:
Running
Running
Update pages/integratedsuture.py
Browse files
pages/integratedsuture.py
CHANGED
@@ -304,15 +304,15 @@ def update_graph_and_pie_chart(col_chosen, s_chosen, g2m_chosen, condition1_chos
|
|
304 |
|
305 |
fig_scatter_db4_6 = px.scatter(data_frame=dff, x='X_umap-0', y='X_umap-1', color=g2m_chosen,
|
306 |
labels={'X_umap-0': 'umap1' , 'X_umap-1': 'umap2'},
|
307 |
-
hover_name='
|
308 |
|
309 |
fig_scatter_db4_7 = px.scatter(data_frame=dff, x='X_umap-0', y='X_umap-1', color="S_score",
|
310 |
labels={'X_umap-0': 'umap1' , 'X_umap-1': 'umap2'},
|
311 |
-
hover_name='
|
312 |
|
313 |
fig_scatter_db4_8 = px.scatter(data_frame=dff, x='X_umap-0', y='X_umap-1', color="G2M_score",
|
314 |
labels={'X_umap-0': 'umap1' , 'X_umap-1': 'umap2'},
|
315 |
-
hover_name='
|
316 |
|
317 |
# Sort values of custom in-between
|
318 |
dff = dff.sort(condition1_chosen)
|
@@ -325,11 +325,11 @@ def update_graph_and_pie_chart(col_chosen, s_chosen, g2m_chosen, condition1_chos
|
|
325 |
|
326 |
fig_scatter_db4_10 = px.scatter(data_frame=dff, x='X_umap-0', y='X_umap-1', color=condition2_chosen,
|
327 |
labels={'X_umap-0': 'umap1' , 'X_umap-1': 'umap2'},
|
328 |
-
hover_name='
|
329 |
|
330 |
fig_scatter_db4_11 = px.scatter(data_frame=dff, x=condition1_chosen, y=condition2_chosen, color=condition1_chosen,
|
331 |
#labels={'X_umap-0': 'umap1' , 'X_umap-1': 'umap2'},
|
332 |
-
hover_name='
|
333 |
|
334 |
# Reorder categories on natural sorting or on the integrated cell state order of the paper
|
335 |
if col_chosen == "integrated_cell_states":
|
|
|
304 |
|
305 |
fig_scatter_db4_6 = px.scatter(data_frame=dff, x='X_umap-0', y='X_umap-1', color=g2m_chosen,
|
306 |
labels={'X_umap-0': 'umap1' , 'X_umap-1': 'umap2'},
|
307 |
+
hover_name='condition', title="G2M-cycle gene:",template="seaborn")
|
308 |
|
309 |
fig_scatter_db4_7 = px.scatter(data_frame=dff, x='X_umap-0', y='X_umap-1', color="S_score",
|
310 |
labels={'X_umap-0': 'umap1' , 'X_umap-1': 'umap2'},
|
311 |
+
hover_name='condition', title="S score:",template="seaborn")
|
312 |
|
313 |
fig_scatter_db4_8 = px.scatter(data_frame=dff, x='X_umap-0', y='X_umap-1', color="G2M_score",
|
314 |
labels={'X_umap-0': 'umap1' , 'X_umap-1': 'umap2'},
|
315 |
+
hover_name='condition', title="G2M score:",template="seaborn")
|
316 |
|
317 |
# Sort values of custom in-between
|
318 |
dff = dff.sort(condition1_chosen)
|
|
|
325 |
|
326 |
fig_scatter_db4_10 = px.scatter(data_frame=dff, x='X_umap-0', y='X_umap-1', color=condition2_chosen,
|
327 |
labels={'X_umap-0': 'umap1' , 'X_umap-1': 'umap2'},
|
328 |
+
hover_name='condition',template="seaborn")
|
329 |
|
330 |
fig_scatter_db4_11 = px.scatter(data_frame=dff, x=condition1_chosen, y=condition2_chosen, color=condition1_chosen,
|
331 |
#labels={'X_umap-0': 'umap1' , 'X_umap-1': 'umap2'},
|
332 |
+
hover_name='condition',template="seaborn",category_orders=cat_ord)
|
333 |
|
334 |
# Reorder categories on natural sorting or on the integrated cell state order of the paper
|
335 |
if col_chosen == "integrated_cell_states":
|