grandom_genome | R Documentation |
Generate a random genome intervals with a specified number of regions of a specified size.
grandom_genome(size, n, dist_from_edge = 3000000, chromosomes = NULL)
size |
The size of the intervals to generate |
n |
The number of intervals to generate |
dist_from_edge |
The minimum distance from the edge of the chromosome for a region to start or end(default: 3e6) |
chromosomes |
The chromosomes to sample from (default: all chromosomes) |
A data.frame with columns chrom, start, and end
## Not run:
library(misha)
gdb.init_examples()
intervals <- grandom_genome(100, 1000, dist_from_edge = 100)
head(intervals)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.