maskFromBSGenome: maskFromBSGenome

maskFromBSGenomeR Documentation

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

Note

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

See Also

getGenomeAndMask, characterToBSGenome, emptyCacheRegioneR

Examples

g <- characterToBSGenome("hg19")

maskFromBSGenome(g)


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