View source: R/WQDCrecursive.R
quartetTableCollapse | R Documentation |
Form a smaller resolved quartet table by lumping some taxa into a composite taxon.
quartetTableCollapse(rqt, taxaA, taxaB)
rqt |
a resolved quartet table, as from |
taxaA |
a vector of taxon names in |
taxaB |
a vector of taxon names in |
This function is needed for the recursive calls in WQDSrec
.
It should only be applied to a resolved quartet table which includes counts
for all possible quartets on the taxa (though counts can be zero).
The sets taxaA
and taxaB
must be disjoint. Their union need not be all taxa in rqt
.
a resolved quartet table with length(taxaA)+1
taxa; the
composite taxon is named as the concatenation of the sorted
names in taxaB
WQDCrecursive
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.