binBSGenome {GenomicDistributions} | R Documentation |
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)
genome |
A UCSC-style string denoting reference assembly (e.g. 'hg38') |
binCount |
number of bins per chromosome |
A data.table object showing the region and bin IDs of the reference genome.
## Not run: binCount = 1000 refGenomeBins = binBSGenome("hg19", binCount) ## End(Not run)