## Setting phylo and phyloOrNULL class for MGDb and mgFeatures


## Borrowed from https://github.com/joey711/phyloseq/blob/master/R/allClasses.R
# Use setClassUnion to define the unholy NULL-data union as a virtual class.
# This is a way of dealing with the expected scenarios in which one or more of
# the component data classes is not available, in which case NULL will be used
# instead.
#' @keywords internal
setClassUnion("DNAStringSetOrNull", c("DNAStringSet", "NULL"))

Try the metagenomeFeatures package in your browser

Any scripts or data that you put into this service are public.

metagenomeFeatures documentation built on Nov. 1, 2018, 4:31 a.m.