R/plotBatchVariance.R
plotSCEBatchFeatureMean.RdPlot 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",
...
)SingleCellExperiment inherited object.
A single character. The name of the assay that stores the
value to plot. For useReddim and useAltExp also. Default
NULL.
A single character. The name of the dimension reduced
matrix that stores the value to plot. Default NULL.
A single character. The name of the alternative experiment
that stores an assay of the value to plot. Default NULL.
A single character. The name of batch annotation column in
colData(inSCE). Default "batch".
label for x-axis. Default "batch".
label for y-axis. Default "Feature Mean".
Additional arguments passed to .ggViolin.
ggplot
data('sceBatches', package = 'singleCellTK')
plotSCEBatchFeatureMean(sceBatches, useAssay = "counts")