subSampleCountMatrix: Subsample a count matrix to a specific number of reads

Description Usage Arguments Value

Description

Subsample a count matrix to a specific number of reads

Usage

1
subSampleCountMatrix(mat, final.count = 1e+07, verbose = FALSE)

Arguments

mat

sparse matrix of class dgCMatrix

final.count

final number of reads the matrix should have

verbose

logical verbosity

Value

a new dgCMatrix subsample to the requested number of reads


barkasn/nbHelpers documentation built on Oct. 10, 2020, 9:46 p.m.