Get chromosome bins from BAM files

getChromBins(bamFiles, restrictChr = NULL, binSize)

Arguments

bamFiles

Character. bam files

restrictChr

character. Chromosomes to select

binSize

numeric. Size of bins

Value

GRanges (bins) for both strands