.requireAndReturn {GenomicDistributions} | R Documentation

## 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.

### Description

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.

### Usage

    .requireAndReturn(BSgenomeString)

### Arguments

`BSgenomeString` | A BSgenome compatible genome string.

### Value

A BSgenome object if installed.

[Package GenomicDistributions version 1.2.0 Index]