loadBSgenome: Loads BSgenome objects from UCSC-style character vectors.

Description Usage Arguments Value Examples

View source: R/utils.R

Description

This function will let you use a simple character vector (e.g. 'hg19') to load and then return BSgenome objects. This lets you avoid having to use the more complex annotation for a complete BSgenome object (e.g. BSgenome.Hsapiens.UCSC.hg38.masked)

Usage

1
loadBSgenome(genomeBuild, masked = TRUE)

Arguments

genomeBuild

One of 'hg19', 'hg38', 'mm10', 'mm9', or 'grch38'

masked

Should we used the masked version? Default:TRUE

Value

a BSgenome object according to the specified genome assembly

Examples

1
2
3
4
## Not run: 
bsg = loadBSgenome('hg19')

## End(Not run)

databio/GenomicDistributionsData documentation built on Jan. 29, 2022, 9:31 p.m.