ivangzf commited on
Commit
a6e2b1b
·
verified ·
1 Parent(s): f5382aa

update tuple parsing on phenograph viz

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -263,10 +263,14 @@ def phenograph(cytof_cohort):
263
  show_plots=False,
264
  plot_together=False)
265
 
266
- umap = figs_scatter['cohort']
267
- expression = figs_exps['cohort']['cell_sum']
 
 
268
 
269
- return umap, cytof_cohort
 
 
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