R/chrom-plots.R
getGenomeBins.Rd
Returns bins used in `calcChromBins` function Given a named vector of chromosome sizes, the function returns GRangesList object with bins for each chromosome.
getGenomeBins(chromSizes, binCount = 10000)
a named list of size (length) for each chromosome.
number of bins (total; *not* per chromosome), defaults to 10,000
A GRangesList object with bins that separate chromosomes into equal parts.
chromSizes = getChromSizes("hg19")
chromBins = getGenomeBins(chromSizes)