generateRandomBed: Generate random genomic data
Description
Generate random genomic data
Usage
generateRandomBed(
nr = 10000,
nc = 1,
fun = function(k) rnorm(k, 0, 0.5),
species = NULL)
Arguments
nc
Number of numeric columns / value columns
fun
Function for generating random values
Details
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
.
Examples
Run this code# NOT RUN {
# There is no example
NULL
# }
Run the code above in your browser using DataLab