get_qc: Get Quality Control Matrix

Description Usage Arguments Value Examples

Description

Get Quality Control Matrix

Usage

1
2
3
4
get_qc(x)

## S4 method for signature 'SconeExperiment'
get_qc(x)

Arguments

x

an object of class SconeExperiment.

Value

NULL or the quality control (QC) metric matrix.

Examples

1
2
3
4
5
6
set.seed(42)
mat <- matrix(rpois(500, lambda = 5), ncol=10)
colnames(mat) <- paste("X", 1:ncol(mat), sep="")
obj <- SconeExperiment(mat,
         qc = cbind(colSums(mat),colSums(mat > 0)))
qc = get_qc(obj)

scone documentation built on Nov. 8, 2020, 5:20 p.m.