randomRegions | R Documentation |
Generate random regions
randomRegions(genome = NULL, nr = 1000, seqlengths = NULL,
width_fun = function(n) runif(n, min = 1000, max = 10000))
genome |
UCSC genome version, e.g. "hg19". |
nr |
Number of regions. |
seqlengths |
Alternatively, you can also specify a named vector of seqlengths (chromosome lengths). |
width_fun |
A function which defines the distribution of region widths. |
The number of regions per chromosome is proportional to the chromsome length.
gr = randomRegions(genome = "hg19")
quantile(width(gr))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.