readTrees(String file, String format)

A function that parses trees from either a Nexus (default) or Newick file.

Parameters

  • String file - the name of Nexus/Newick file including path.
  • String format - (optional) Nexus or Newick (case-insesitive), default to Nexus.

Return type

TimeTree[]

Examples

  • readTrees.lphy