coverage: Coverage for single cells

Description Usage Arguments Value Examples

Description

Provides Coverage for each cell in a library pool

Usage

1
coverage(bs, subSample = 1e+06, offset = 50000)

Arguments

bs

bsseq object

subSample

number of CpGs to subsample. Default value is 1000000.

offset

how many CpGs to offset when subsampling Default value is set to be 50000, i.e. first 50000 CpGs will be ignored in subsampling.

Value

vector of coverage for the cells in bs object

Examples

1
2
3
directory <- system.file("extdata/bismark_data", package='scmeth')
bs <- HDF5Array::loadHDF5SummarizedExperiment(directory)
coverage(bs)

aryeelab/scmeth documentation built on June 15, 2019, 8:02 p.m.