Skip to contents

Get background regions from filtered bsseq object based on minCpGs and maxGap

Usage

getBackground(bs = bs.filtered, minNumRegion = 5, maxGap = 1000)

Arguments

bs

bsseq object that has been filtered for coverage and sorted

minNumRegion

Minimum CpGs required for a region. Must be at least 3 CpGs, default is 5 CpGs

maxGap

Maximum distance between CpGs to be included in the same region. Default is 1000 bp

Value

Data.frame of background regions with location, number of CpGs, and width

Details

getBackground