QC_metrics | R Documentation |
Get or set quality control metrics in a SingleCellExperiment object
QC_metrics(object)
QC_metrics(object) <- value
QC_metrics.sce(object)
## S4 method for signature 'SingleCellExperiment'
QC_metrics(object)
## S4 replacement method for signature 'SingleCellExperiment'
QC_metrics(object) <- value
object |
A |
value |
Value to be assigned to corresponding object. |
a dataframe of quality control matrics
A DataFrame of quality control metrics.
Luyi Tian
data("sc_sample_data")
data("sc_sample_qc")
sce = SingleCellExperiment(assays = list(counts = as.matrix(sc_sample_data)))
QC_metrics(sce) = sc_sample_qc
head(QC_metrics(sce))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.