R/mc_hierarchy.r
mcell_mc_plot_hierarchy.Rd
plot super strucutre: super clust mc footprint, and selected genes
mcell_mc_plot_hierarchy(
mc_id,
graph_id,
mc_order,
sup_mcs,
width,
height,
fig_fn = NULL,
min_nmc = 2,
shades = colorRampPalette(c("white", "pink", "red", "black", "brown", "orange")),
plot_grid = T,
show_mc_ids = F
)
id of metacell object
id of graph for (Re-) constructing confusion matrix
the mc ordering (e.g., hc$order using the output of mcell_mc_hclust_confu)
the list you get from mcell_mc_hierarchy (for now)
width of figure in pixels
height of figure in pixels
figure name (NULL will create a figure named [mc_id]_supmc_confu in the figure directory)
minimal number of mc in supmc set, smaller gruops will not be plotted
heatmap color palette
plot vertical grid in the heatmap
plot mc ids below the heatmap