public AncestralTrait(String name, TreeTrait ancestralTrait, Tree tree, TaxonList taxa) throws Tree.MissingTaxonException { this.name = name; this.tree = tree; this.ancestralTrait = ancestralTrait; this.leafSet = Tree.Utils.getLeavesForTaxa(tree, taxa); }