Either a BSgenome object, or a named vector of integers
(names being choromosome names, integers being the chromosome
lengths), to get the chromosome lengths from.
chrs
A vector containing which chromosomes to create bins across.
May either be numeric indicies or chromosome names. Default is all
chromosomes given by genome.
width
The width in base pairs of each bin.
spacing
The space between the centres of each adjacent bin. By default,
is equal to the spacing parameter, which gives
non-overlapping bins. Values larger than spacing will give
overlapping bins, and values smaller than spacing will
give gaps between each bin.