plot_heatmap_pathway_top_contrib_genes.Rd
Plots heatmap of top contributing genes for each mode
plot_heatmap_pathway_top_contrib_genes(
expr_mat,
PCA_object,
module,
n = 10,
meta = NULL,
annot_name = NULL,
cluster_cols = T,
fontsize = 7,
colors_annot = NULL
)
Numeric matrix, containing counts, normalized or not.
List, output from run_activity_analysis().
Character, module for which you want to plot activity
Number of top contributors to plot for each mode
Dataframe containing metadata, with cell labels as rownames.
Character, name of the column in meta that should be used to compute homogeneity for.
Boolean, set to TRUE to perform column clustering.
Integer, base fontsize for the plot.
Vector of colors to use.
heatmap plot of top contributor genes for each informative mode of activation, ordered by decreasing contribution