View source: R/abundanceDotplot.R
abundanceDotplot | R Documentation |
Relative Abundance Dotplot
abundanceDotplot(
srt_obj,
celltypes,
group2,
celltype_pal,
use_facet = FALSE,
plot_type = "dot"
)
srt_obj |
Seurat object |
celltypes |
Character string of cell type column in metadata |
group2 |
Character string of grouping column in metadata |
celltype_pal |
Vector of colors for cell types |
use_facet |
Logical for whether to use facet wrapping |
plot_type |
Character string for plot type, either "dot" or "bar", default is "dot" |
ggplot object
## Not run:
abundanceDotplot(seuratdata, celltypes = "celltypes", group2 = "orig.ident",
celltype_pal = celltype_cols, use_facet = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.