Since ampvis2 v2.7.6 amp_import_usearch()
has been implemented directly in amp_load
instead. Don't use.
Reads an OTU count table and a corresponding sintax taxonomy table from a USEARCH analysis pipeline, and then converts and combines them into an OTU table compatible with ampvis2.
amp_import_usearch(...)
Capture and ignore all args
A data frame
if (FALSE) {
# First import the usearch format OTU table:
usearch_otutable <- amp_import_usearch(
otutab = "/path/to/otutab.txt",
sintax = "/path/to/sintax.txt"
)
# Then use amp_load() with or without metadata as normal:
d <- amp_load(usearch_otutable, metadata)
}