Plot features per cell
Source:R/AllGenerics.R
, R/plotFeaturesPerCell-methods.R
plotFeaturesPerCell.Rd
Plot features per cell
Usage
plotFeaturesPerCell(object, ...)
# S4 method for SingleCellExperiment
plotFeaturesPerCell(
object,
geom = c("histogram", "ecdf", "violin", "ridgeline", "boxplot"),
interestingGroups = NULL,
min = 0L,
max = Inf,
trans = "log2",
labels = list(title = "Features per cell", subtitle = NULL, metricAxis = "features",
otherAxis = NULL)
)
Arguments
- object
Object.
- geom
character(1)
. Plot type. Usesmatch.arg()
internally and defaults to the first argument in thecharacter
vector.- interestingGroups
character
. Groups of interest to use for visualization. Corresponds to factors describing the columns of the object.- min
numeric(1)
. Recommended minimum value cutoff.- max
numeric(1)
. Recommended maximum value cutoff.- trans
character(1)
. Name of the axis scale transformation to apply.For more information:
- labels
list
. ggplot2 labels. Seeggplot2::labs()
for details.- ...
Additional arguments.
Examples
data(SingleCellExperiment_splatter, package = "AcidTest")
## SingleCellExperiment ====
object <- SingleCellExperiment_splatter
plotFeaturesPerCell(object)