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 <- read_mothur_list(strollur_example("final.opti_mcc.list.gz"))
# create a new empty `strollur` object
data <- new_dataset()
# assign sequences to 'otu' bins
assign(data = data, table = otu_data, type = "bins", bin_type = "otu")
#> Assigned 531 otu bins.
#> [1] 531
