Get chromosome sliding windows from BAM files

getChromWindows(bamFiles, restrictChr = NULL, binSize, stepSize)

Arguments

bamFiles

Character vector (bam files)

restrictChr

Chromosomes to select

binSize

Size of bins

stepSize

Size of window slide

Value

GRanges (sliding windows) for both strands