View source: R/scPathogenRatioPlot.R
scPathogenRatioPlot | R Documentation |
pathogen population plot by clusters
scPathogenRatioPlot(
object = NULL,
species = NULL,
cols = NULL,
split.by = NULL,
ncol = NULL
)
object |
Seurat object |
species |
Name of pathogen species |
cols |
Colors to plot |
split.by |
Name of a metadata column to split plot by |
ncol |
Number of columns for display the plots |
A ggplot object
data("H3N2_small")
scPathogenRatioPlot(object = H3N2_small,
species = "H3N2",
split.by = "sample",
ncol = 2
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.