import_env_file: Read a UniFrac-formatted ENV file.

Description Usage Arguments Value References See Also Examples

View source: R/IO-methods.R

Description

Convenience wrapper function to read the environment-file, as formatted for input to the UniFrac server (http://bmf2.colorado.edu/unifrac/). The official format of these files is that each row specifies (in order) the sequence name, source sample, and (optionally) the number of times the sequence was observed.

Usage

1
import_env_file(envfilename, tree=NULL, sep="\t", ...)

Arguments

envfilename

(Required). A charater string of the ENV filename (relative or absolute)

tree

(Optional). phylo-class object to be paired with the output otu_table.

sep

A character string indicating the delimiter used in the file. The default is "\t".

...

Additional parameters passed on to read.table.

Value

An otu_table-class, or phyloseq-class if a phylo-class argument is provided to tree.

References

http://bmf2.colorado.edu/unifrac/

See Also

import

tip_glom

Examples

1
# import_env_file(myEnvFile, myTree)

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