parse_newick: Parse a Newick file

Description Usage Arguments Details Value See Also

View source: R/parsers.R

Description

Parse a Newick file into a taxmap object.

Usage

1

Arguments

file

(character of length 1) The file path to the input file. Either file or text must be supplied but not both.

text

(character of length 1) The raw text to parse. Either file or text must be supplied but not both.

Details

The input file has a format like:

1
2
(ant:17, (bat:31, cow:22):7, dog:22, (elk:33, fox:12):40);
(dog:20, (elephant:30, horse:60):20):50;

Value

taxmap

See Also

Other parsers: parse_edge_list, parse_greengenes, parse_mothur_tax_summary, parse_mothur_taxonomy, parse_phyloseq, parse_phylo, parse_qiime_biom, parse_rdp, parse_silva_fasta, parse_ubiome, parse_unite_general


grunwaldlab/metacoder documentation built on Nov. 30, 2018, 7:53 p.m.