add_besthit | R Documentation |
best_hist
to a phyloseq-class
ObjectAdd the lowest classification for an OTU or ASV.
add_besthit(x, sep = ":")
x |
|
sep |
separator e.g. ASV161:Roseburia |
Most commonly it is observed that taxa names are either OTU ids or
ASV ids. In such cases it is useful to know the taxonomic identity.
For this purpose, best_hist
identifies the best available
taxonomic identity and adds it to the OTU ids or ASV ids. If genus
and species columns are present in input the function internally
combines the names.
phyloseq-class
object phyloseq-class
Contact: Sudarshan A. Shetty sudarshanshetty9@gmail.com
## Not run:
# Example data
library(microbiome)
data(dietswap)
p0.f <- add_besthit(atlas1006, sep=":")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.