You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have one suggestion . It would be good to be able to sort the heatmap produced by plot_heatmap_of_gene_clusters on the x axis in the same order as on the plot_profiles_of_gene_clusters.
From this:
To This:
So that the order matches this:
I was able to achieve it by adding the following code: go_list_ <- psupertime_go_analysis(naive_psuper, org_mapping="org.Hs.eg.db") x <- go_list_$plot_dt x_ord <- with(x, x[order(label_psuper),]) x_ord$cell_id <- factor(x_ord$cell_id, levels = unique(x_ord$cell_id)) go_list_$plot_dt <- x_ord plot_heatmap_of_gene_clusters(go_list_)
Cheers
Carl
The text was updated successfully, but these errors were encountered:
Thanks for the great piece package.
I have one suggestion . It would be good to be able to sort the heatmap produced by plot_heatmap_of_gene_clusters on the x axis in the same order as on the plot_profiles_of_gene_clusters.
From this:
To This:
So that the order matches this:
I was able to achieve it by adding the following code:
go_list_ <- psupertime_go_analysis(naive_psuper, org_mapping="org.Hs.eg.db")
x <- go_list_$plot_dt
x_ord <- with(x, x[order(label_psuper),])
x_ord$cell_id <- factor(x_ord$cell_id, levels = unique(x_ord$cell_id))
go_list_$plot_dt <- x_ord
plot_heatmap_of_gene_clusters(go_list_)
Cheers
Carl
The text was updated successfully, but these errors were encountered: