Learn R Programming

regioneR (version 1.4.0)

characterToBSGenome: 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

See Also

getGenomeAndMask, maskFromBSGenome

Examples

Run this code
g <- characterToBSGenome("hg19")

Run the code above in your browser using DataLab