Spaces:
Sleeping
Sleeping
update tuple parsing on phenograph viz
Browse files
app.py
CHANGED
|
@@ -263,10 +263,14 @@ def phenograph(cytof_cohort):
|
|
| 263 |
show_plots=False,
|
| 264 |
plot_together=False)
|
| 265 |
|
| 266 |
-
|
| 267 |
-
|
|
|
|
|
|
|
| 268 |
|
| 269 |
-
|
|
|
|
|
|
|
| 270 |
|
| 271 |
def cluster_interaction_fn(cytof_img, cytof_cohort):
|
| 272 |
# avoid calling the clustering algorithm again. cohort is guaranteed to have one phenogrpah
|
|
|
|
| 263 |
show_plots=False,
|
| 264 |
plot_together=False)
|
| 265 |
|
| 266 |
+
umap_fig, ax_scatter = figs_scatter['cohort']
|
| 267 |
+
ax_scatter.set_title('')
|
| 268 |
+
ax_scatter.set_xlabel('UMAP1')
|
| 269 |
+
ax_scatter.set_ylabel('UMAP2')
|
| 270 |
|
| 271 |
+
# expression = figs_exps['cohort']['cell_sum']
|
| 272 |
+
|
| 273 |
+
return umap_fig, cytof_cohort
|
| 274 |
|
| 275 |
def cluster_interaction_fn(cytof_img, cytof_cohort):
|
| 276 |
# avoid calling the clustering algorithm again. cohort is guaranteed to have one phenogrpah
|