plotSCEBatchFeatureMean: Plot mean feature value in each batch of a...

Description Usage Arguments Value Examples

Description

Plot mean feature value in each batch of a SingleCellExperiment object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plotSCEBatchFeatureMean(
  inSCE,
  useAssay = NULL,
  useReddim = NULL,
  useAltExp = NULL,
  batch = "batch",
  xlab = "batch",
  ylab = "Feature Mean",
  ...
)

Arguments

inSCE

SingleCellExperiment inherited object.

useAssay

A single character. The name of the assay that stores the value to plot. For useReddim and useAltExp also. Default NULL.

useReddim

A single character. The name of the dimension reduced matrix that stores the value to plot. Default NULL.

useAltExp

A single character. The name of the alternative experiment that stores an assay of the value to plot. Default NULL.

batch

A single character. The name of batch annotation column in colData(inSCE). Default "batch".

xlab

label for x-axis. Default "batch".

ylab

label for y-axis. Default "Feature Mean".

...

Additional arguments passed to .ggViolin.

Value

ggplot

Examples

1
2
data('sceBatches', package = 'singleCellTK')
plotSCEBatchFeatureMean(sceBatches, useAssay = "logcounts")

singleCellTK documentation built on Nov. 8, 2020, 5:21 p.m.