plotClusterAbundance | R Documentation |
Plot the differential Abundance
plotClusterAbundance(inSCE, cluster, variable, combinePlot = c("all", "none"))
inSCE |
A |
cluster |
A single |
variable |
A single |
combinePlot |
Must be either "all" or "none". "all" will combine all
plots into a single |
This function will visualize the differential abundance in two given variables, by making bar plots that presents the cell counting and fraction in different cases.
When combinePlot = "none"
, a list
with 4
ggplot
objects; when combinePlot = "all"
, a
single ggplot
object with for subplots.
data("mouseBrainSubsetSCE", package = "singleCellTK")
plotClusterAbundance(inSCE = mouseBrainSubsetSCE,
cluster = "tissue",
variable = "level1class")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.