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

View source: R/loadData.R

loadBSgenomeR Documentation

Loads BSgenome objects from UCSC-style character vectors.

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

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 corresponding to the provided genome build.

Examples

## Not run: 
bsg = loadBSgenome('hg19')

## End(Not run)

databio/GenomicDistributions documentation built on April 30, 2024, 4:34 a.m.