slide_genome: sliding window on a list of granges

View source: R/slide_genome.R

slide_genomeR Documentation

sliding window on a list of granges

Description

slide_genome Hierarchically classify the genome by coordinates in the list of granges objects, returning the proportion of sequence each sliding window intersects

Usage

slide_genome(seqInfo, listOfGrs, windowSize, stepSize)

Arguments

seqInfo

seqinfo extracted from the genome assembly DNAstringset

listOfGrs

list of granges containing the regions to intersect

windowSize

numeric, giving the size in basepairs of the windows

stepSize

numeric, giving the step in basepairs between the windows

Details

intersects, gaps and reduces overlapping intervals within windows

Value

a data.table containing the amount of sequence covered in each window

Examples

## Not run: 
# coming soon.

## End(Not run)


jtlovell/gscTools documentation built on March 16, 2023, 10:24 p.m.