import_mothur_groups: Parse mothur group file into a simple hash table.

Description Usage Arguments Value See Also

View source: R/IO-methods.R

Description

The data.frame object returned by this function is not immediately useable by other phyloseq functions, and must be first parsed in conjunction with a separate mothur "list" file. This function is made accessible to phyloseq users for troubleshooting and inspection, but the link{import_mothur()} function is suggested if the goal is to import the OTU clustering results from mothur into phyloseq. You will need both a group file and a list file for that end.

Usage

1
import_mothur_groups(mothur_group_file)

Arguments

mothur_group_file

A character string indicating the location of the mothur-produced group file in which the sample-source of each sequence is recorded. See http://www.mothur.org/wiki/Make.group

Value

A data.frame that is effectively a hash table between sequence names and their sample source.

See Also

import_mothur


phyloseq documentation built on Nov. 8, 2020, 6:41 p.m.