metacoder (version 0.2.0)

parse_newick: Parse a Newick file

Description

Parse a Newick file into a taxmap object.

Usage

parse_newick(file)

Arguments

file

(character of length 1) The file path to the input file.

Value

taxmap

Details

The input file has a format like:

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

See Also

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