View source: R/Visualization.R
DemoPlot | R Documentation |
Create a demographic figure for the input single cell dataset for each of the subject
DemoPlot( eset, cluster, sample, select.ct, Palette = c("#999999", "#E69F00", "#56B4E9", "#009E73", "#F0E442", "#0072B2", "#D55E00", "#CC79A7") )
eset |
ExpressionSet object of the single cell data |
cluster |
the variable name for "cell types" or "cluster name" |
sample |
the variable name for subjects |
select.ct |
the vector of cell types of interest, for example, c("alpha","beta") |
Palette |
the color palette to be used in the demographic figure |
A figure showing the number of cells and percentage of cell types for single cells after clustering
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.