readNexus(String file, Object options)

A function that parses an alignment from a Nexus file.

Parameters

  • String file - the name of Nexus file including path.
  • Object options - (optional) the map containing optional arguments and their values for reuse.

Return type

MetaDataAlignment

Examples

  • simpleSerialCoalescentNex.lphy
  • twoPartitionCoalescentNex.lphy