Read a mothur formatted list file
Arguments
- list
file name. The list file can be created using several of mothur's commands. cluster, cluster.split, cluster.fit and phylotype.
Examples
# You can add your otu assignments to the your data set using the following:
# read mothur's list file into data.frame
otu_data <-
strollur::read_mothur_list(strollur_example("final.opti_mcc.list.gz"))
# create a new empty `strollur::strollur` object
data <- strollur::new_dataset()
# assign sequences to 'otu' bins
strollur::assign(data = data, table = otu_data,
type = "bin", bin_type = "otu")
#> Assigned 531 otu bins.
