Package pal.tree

Class ReadTree

  • All Implemented Interfaces:
    java.io.Serializable, IdGroup, Report, Units, UnitsProvider, Tree

    public class ReadTree
    extends SimpleTree
    constructs a tree reading in a New Hampshire treefile, taking care for internal labels and branch lengths and binary/nonbinary and rooted/unrooted trees
    Version:
    $Id: ReadTree.java,v 1.10 2002/10/14 06:54:25 matt Exp $
    Author:
    Korbinian Strimmer, Alexei Drummond
    See Also:
    Serialized Form
    • Constructor Detail

      • ReadTree

        public ReadTree​(java.lang.String file)
                 throws TreeParseException,
                        java.io.IOException
        read tree from file
        Parameters:
        file - name of file
        Throws:
        TreeParseException
        java.io.IOException