Description Usage Arguments Value Author(s) See Also Examples
Creates a compact GRanges
representation of bins across specified
chromosomes of a given genome.
1 2 3 4 5 6 | ## S4 method for signature 'numeric'
genomeBlocks(genome, chrs = names(genome), width = NULL,
spacing = width)
## S4 method for signature 'BSgenome'
genomeBlocks(genome, chrs = seqnames(genome), width = NULL,
spacing = width)
|
genome |
Either a |
chrs |
A |
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 |
Returns a GRanges
object, compatible with direct usage in
annotationBlocksCounts
Aaron Statham
1 2 3 | chr.lengths <- c(800, 200, 200)
names(chr.lengths) <- c("chr1", "chr2", "chr3")
genomeBlocks(chr.lengths, width = 200)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.