Quality control

plotQC(object, ...)

# S4 method for SummarizedExperiment
plotQC(object, assay = 1L,
  legend = getOption(x = "acid.legend", default = TRUE))

# S4 method for SingleCellExperiment
plotQC(object, geom = c("histogram",
  "ecdf", "violin", "ridgeline", "boxplot"), legend = getOption(x =
  "acid.legend", default = TRUE))

Arguments

object

Object.

assay

vector(1). Assay name or index position.

legend

logical(1). Include plot legend.

geom

character(1). Plot type. Uses match.arg() internally and defaults to the first argument in the character vector.

...

Additional arguments.

Value

ggplot.

Note

Updated 2019-08-12.

Examples

data( RangedSummarizedExperiment, SingleCellExperiment, package = "acidtest" ) ## SummarizedExperiment ==== object <- RangedSummarizedExperiment plotQC(object)
## SingleCellExperiment ==== object <- SingleCellExperiment object <- calculateMetrics(object)
#> Calculating 100 sample metrics.
#> 497 coding features detected.
#> 0 mitochondrial features detected.
plotQC(object, legend = FALSE)