addPerCellQC {scater} | R Documentation |
Convenient utilities to compute QC metrics and add them to a SummarizedExperiment's metadata.
addPerCellQC(x, ...) addPerFeatureQC(x, ...)
x |
A SummarizedExperiment object or one of its subclasses. |
... |
For For |
These functions are simply wrappers around perCellQCMetrics
and perFeatureQCMetrics
, respectively.
The computed QC metrics are automatically appended onto the existing colData
or rowData
.
No protection is provided to avoid duplicated column names.
An object like x
but with the QC metrics added to the row or column metadata.
Aaron Lun
perCellQCMetrics
and perFeatureQCMetrics
, which do the actual work.
example_sce <- mockSCE() example_sce <- addPerCellQC(example_sce) colData(example_sce) example_sce <- addPerFeatureQC(example_sce) rowData(example_sce)