randomRegionsFromBioMartGenome: Generate random regions from a BioMart genome

View source: R/utils.R

randomRegionsFromBioMartGenomeR Documentation

Generate random regions from a BioMart genome

Description

Generate random regions from a BioMart genome

Usage

randomRegionsFromBioMartGenome(biomart_dataset, nr = 1000, ...)

Arguments

biomart_dataset

A BioMart dataset. Values should be in BioMartGOGeneSets::supportedOrganisms.

nr

Number of regions.

...

Pass to randomRegions.

Details

The number of regions per chromosome is proportional to the chromsome length.

Examples

if(FALSE) {
    # Giant panda
    gr = randomRegionsFromBioMartGenome("amelanoleuca_gene_ensembl")
}

jokergoo/rGREAT documentation built on March 5, 2025, 1:34 p.m.