Description Usage Arguments Value Note See Also Examples
Function to obtain a mask given a genome available as a BSgenome
. The mask returned is the merge of all the active masks in the BSgenome
.
Since it uses characterToBSGenome
, the genome can be either a BSgenome
object or a character string uniquely identifying the a BSgenome
object installed.
1 | getMask(genome)
|
genome |
the genome from where the mask will be extracted. It can be either a |
A GRanges
object with the genomic regions to be masked out
This function is memoised (cached) using the memoise
package. To empty the cache, use forget(getMask)
getGenome
, getGenomeAndMask
, characterToBSGenome
, maskFromBSGenome
, emptyCacheRegioneR
1 2 3 | hg19.mask <- getMask("hg19")
hg19.mask
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.