Plots barplot colored by cluster showing distribution of specificity between clusters for each activation mode

plot_pathway_specificity(
  PCA_object,
  module,
  meta,
  annot_name,
  colors_annot = NULL
)

Arguments

PCA_object

List, output from run_activity_analysis().

module

Character, module for which we want to plot activity.

meta

Dataframe containing metadata, with cell labels as rownames.

annot_name

Character, name of the column in meta that should be used to compute homogeneity for.

colors_annot

Vector of colors to use

Value

UMAP plots (one by activation mode)