R/plotBatchVariance.R
plotSCEBatchFeatureMean.Rd
Plot mean feature value in each batch of a SingleCellExperiment object
plotSCEBatchFeatureMean( inSCE, useAssay = NULL, useReddim = NULL, useAltExp = NULL, batch = "batch", xlab = "batch", ylab = "Feature Mean", ... )
inSCE | SingleCellExperiment inherited object. |
---|---|
useAssay | A single character. The name of the assay that stores the
value to plot. For |
useReddim | A single character. The name of the dimension reduced
matrix that stores the value to plot. Default |
useAltExp | A single character. The name of the alternative experiment
that stores an assay of the value to plot. Default |
batch | A single character. The name of batch annotation column in
|
xlab | label for x-axis. Default |
ylab | label for y-axis. Default |
... | Additional arguments passed to |
ggplot
data('sceBatches', package = 'singleCellTK') plotSCEBatchFeatureMean(sceBatches, useAssay = "counts")