Plots barplots per sample of composition of each pagoda2 application based on selected clustering
plotClusterBarplots(
conos.obj = NULL,
clustering = NULL,
groups = NULL,
sample.factor = NULL,
show.entropy = TRUE,
show.size = TRUE,
show.composition = TRUE,
legend.height = 0.2
)
a ggplot object
A conos object (default=NULL)
name of clustering in the current object (default=NULL)
arbitrary grouping of cells (to use instead of the clustering) (default=NULL)
a factor describing cell membership in the samples (or some other category) (default=NULL). This will default to samples if not provided.
boolean Whether to include entropy barplot (default=TRUE)
boolean Whether to include size barplot (default=TRUE)
boolean Whether to include composition barplot (default=TRUE)
numeric Relative hight of the legend panel (default=0.2)