CoalescentTree[tlist, elist] is a data structure for a coalescent tree. Time is measured backward in unit of 2 Ne, where Ne is the effective population size. We use same lables for tree leaves and sequences, and they are set as integers from 1 to n (the number of sequences). The internal nodes are labled by integers from n+1 to 2 n-1, according the occurent order of coalescent events. tlist is a sequence of coalescent times starting from zero at tree leaves, and elist is a sequence of branch pars between which coalescence occurs. |