characterToBSGenome: characterToBSGenome

characterToBSGenomeR Documentation

characterToBSGenome

Description

Given a character string with the "name" of a genome, it returns a BSgenome object if available.

Usage

characterToBSGenome(genome.name)

Arguments

genome.name

a character string uniquely identifying a BSgenome (e.g. "hg19", "mm10" are ok, but "hg" is not)

Value

A BSgenome object

Note

This function is memoised (cached) using the memoise package. To empty the cache, use forget(charecterToBSGenome)

See Also

getGenomeAndMask, maskFromBSGenome

Examples

g <- characterToBSGenome("hg19")

bernatgel/regioneR documentation built on Sept. 10, 2023, 12:03 a.m.