plot_heatmap_pathway_genes.Rd
Plots heatmap showing individual gene expression of a pathway
plot_heatmap_pathway_genes(
expr_mat,
activity_mat = NULL,
meta = NULL,
annot_name = NULL,
modules_list,
module,
cluster_cols = T,
cluster_rows = T,
clustering_distance = "euclidean",
clustering_method = "ward.D2",
fontsize = 5,
colors_annot = NULL
)
Numeric matrix, containing counts, normalized or not.
Numeric matrix, containing activity for each activation mode of each pathway.
Dataframe containing metadata, with cell labels as rownames.
Character, name of the column in meta that should be used to compute homogeneity for.
List, with module names as list names and character vectors containing genes in module. Output from read_gmt file for example.
Character, pathway for which you want to plot expression.
Boolean, set to TRUE to perform column clustering.
Boolean, set to TRUE to perform row clustering.
Character, distance to use to perform clustering, one of "euclidean","correlation".
Character, one of "ward.D", "ward.D2", "single", "complete", "average" (= UPGMA), "mcquitty" (= WPGMA), "median" (= WPGMC) or "centroid" (= UPGMC).
Integer, base fontsize for the plot.
Vector of colors to use.
heatmap plot