validBSgenome: Get/Validate BSgenome

View source: R/ValidationUtils.R

validBSgenomeR Documentation

Get/Validate BSgenome

Description

This function will attempt to get or validate an input as a BSgenome.

Usage

validBSgenome(genome = NULL, masked = FALSE)

Arguments

genome

This option must be one of the following: (i) the name of a valid ArchR-supported genome ("hg38", "hg19", or "mm10"), (ii) the name of a BSgenome package (for ex. "BSgenome.Hsapiens.UCSC.hg19"), or (iii) a BSgenome object.

masked

A boolean describing whether or not to access the masked version of the selected genome. See BSgenome::getBSgenome().


haibol2016/ArchR_debug documentation built on June 15, 2022, 5:42 p.m.