dot-validBSgenome: Checks if provided genome is an available BSgenome object,...

.validBSgenomeR Documentation

Checks if provided genome is an available BSgenome object, and if so, returns it. If the library is not installed, it issues a warning and returns NULL.

Description

Checks if provided genome is an available BSgenome object, and if so, returns it. If the library is not installed, it issues a warning and returns NULL.

Usage

.validBSgenome(bsg)

Arguments

bsg

A BSgenome compatible genome string or BSgenome object.

Value

A BSgenome object if installed.


databio/FUSED documentation built on May 13, 2022, 8:10 p.m.