public class TreeClusters
public TreeClusters(Tree theTree)
public kotlin.Array[] getGroups(int numberOfGroups)
For a given number of groups this function returns the group membership for each taxon.
numberOfGroups - the number of groups desiredpublic kotlin.Array[] getGroups(double height)
This function returns taxa group membership when the tree is cut at the designated height.
height - the height at which the tree is cutpublic void setNodeToGroup(Node aNode, int group, kotlin.Array[] groups)