A function that handles the conversion of objects to Taxmap (taxa::taxmap) objects.
create_taxmap(obj)
obj | An object that contains the data being analyzed. Can be one of the following:
|
---|
The output generated is a taxa::taxmap object.
This function is used to convert data to metacoder/taxmap objects for microbiome analysis. This function is used at the beginning of every other function to support multiple types of input for the obj parameter in those functions.
# NOT RUN { if(interactive()){ library(MicrobiomeR) phy_obj <- MicrobiomeR::phyloseq_silva_2 mc_obj <- create_taxmap(phy_obj) } # }