Learn R Programming

regioneR (version 1.4.0)

maskFromBSGenome: maskFromBSGenome

Description

Extracts the merge of all the active masks from a BSgenome

Usage

maskFromBSGenome(bsgenome)

Arguments

bsgenome
a BSgenome object

Value

A GRanges object with the active mask in the BSgenome

See Also

getGenomeAndMask, characterToBSGenome, emptyCacheRegioneR

Examples

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

maskFromBSGenome(g)

Run the code above in your browser using DataLab