View source: R/genomic_utils.R
generateRandomBed | R Documentation |
Generate random genomic data
generateRandomBed(
nr = 10000,
nc = 1,
fun = function(k) rnorm(k, 0, 0.5),
species = NULL)
nr |
Number of rows |
nc |
Number of numeric columns / value columns |
fun |
Function for generating random values |
species |
species, pass to |
The function will uniformly sample positions from the genome. Chromosome names start with "chr"
and positions are sorted. The final number of rows may not be exactly as same as nr
.
# There is no example
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.