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

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().