read_annotated

0th

Percentile

Read an annotated phylogenetic tree

This function takes the given file, containing data in either NEXUS or Newick format, and returns annotated phylogenetic trees.

Keywords
phylo
Usage
read_annotated(filename, format="nexus")
Arguments
filename

a file to read tree data from

format

a format specifier; either "nexus" or "newick"

Details

The given file text is parsed and a tree object is constructed which can be used with the functions in the ape package. Annotations of the kind produced by, for example, MrBayes, are parsed and preserved in the returned object.

See parse_annotated for more information about the structure of the returned value.

Value

an object of type "phylo" or "multiPhylo", augmented with node annotations.

See Also

print_annotated, parse_annotated, write_annotated

Aliases
  • read_annotated
Documentation reproduced from package phylotate, version 1.3, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.