coverage: Coverage for single cells

Description Usage Arguments Value Examples

View source: R/coverage.R

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)

scmeth documentation built on Nov. 8, 2020, 6:21 p.m.