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