QC_metrics: Get or set quality control metrics in a SingleCellExperiment...

Description Usage Arguments Value Author(s) Examples

Description

Get or set quality control metrics in a SingleCellExperiment object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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

Arguments

object

A SingleCellExperiment object.

value

Value to be assigned to corresponding object.

Value

a dataframe of quality control matrics

A DataFrame of quality control metrics.

Author(s)

Luyi Tian

Examples

1
2
3
4
5
6
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))

scPipe documentation built on Nov. 8, 2020, 8:28 p.m.