R/utility.R
dot-requireAndReturn.Rd
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)
A BSgenome compatible genome string.
A BSgenome object if installed.