clustergrammer2
clustergrammer2 copied to clipboard
how to use clustergrammer2 with "dash" for my web app
Hello,
I am quite lost on how to use clustergrammer2 with "dash". I really want to show a heatmap in my app and appreciate your feedback asap.
My current clustergrammer2 code which works.
num_rows = 71 n1 = Network(CGM2)
n1.load_df(np.log2(df_allgrp_fill_transposed), meta_col=df_allgrp_fill_meta, col_cats=col_cats) n1.set_global_cat_colors(df_colors) n1.filter_N_top(axis='row', N_top=num_rows, rank_type='var') n1.set_manual_category(col='Tissue', preferred_cats=df_colors) n1.widget()
Thanks so much!