Read a mothur formatted shared file
Examples
# You can add your otu assignments to the your data set using the following:
# read mothur shared file into data.frame
otu_data <- read_mothur_shared(strollur_example("final.opti_mcc.shared"))
# create a new empty `strollur` object
data <- new_dataset()
# assign abundance only 'otu' bins parsed by sample
assign(data = data, table = otu_data, type = "bins", bin_type = "otu")
#> Assigned 531 otu bins.
#> [1] 531
