Given a BSgenome object (to be loaded via loadBSgenome
), and a number
of bins, this will bin that genome. It is a simple wrapper of the
binChroms
function
binBSGenome(genome, binCount)
A UCSC-style string denoting reference assembly (e.g. 'hg38')
number of bins per chromosome
A data.table object showing the region and bin IDs of the reference genome.
if (FALSE) {
binCount = 1000
refGenomeBins = binBSGenome("hg19", binCount)
}