Checks to make sure a package object is installed, and if so, returns it. If the library is not installed, it issues a warning and returns NULL.

.requireAndReturn(BSgenomeString)

Arguments

BSgenomeString

A BSgenome compatible genome string.

Value

A BSgenome object if installed.