plotClusterBarplots | R Documentation |
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
)
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) |
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.