Description Usage Arguments Value Examples
Generate a barplot
1 | plotCellTotals(eset, cellType, sampleID)
|
eset |
a matrix or |
cellType |
vector or name of phenotypic variable that contains the mapping of each column (i.e. each cell) to a cell type. |
sampleID |
vector or name of phenotypic variable that contains the mapping of each column (i.e. each cell) to a biological sample. |
a ggplot
object with ggplot2::geom_bar.
1 2 3 4 5 6 | # generate random data
x <- rscData()
# check phenotypic variables
varLabels(x)
# plot counts
plotCellTotals(x, 'cellType', 'sampleID')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.