quartetNetworkDist | R Documentation |
Produce network quartet distance table for the NANUQ algorithm, from a table of quartets and p-values, and specified levels of quartet hypothesis tests. The network quartet distance, which is described more fully by \insertCiteABR19;textualMSCquartets, generalizes the quartet distance of \insertCiteRho19;textualMSCquartets.
quartetNetworkDist(pTable, alpha, beta)
pTable |
a table of quartets and p-values, as computed by NANUQ, or
|
alpha |
a scalar significance level for judging p-values |
beta |
a scalar significance level for judging p-values |
In case of a triple of quartet counts with the two largest equal and the third slighltly smaller,
along with alpha
and beta
leading to a star quartet being rejected and a tree not being rejected,
this function chooses a resolved quartet topology uniformly at random from the two largest counts. This is the only
stochastic element of the code, and its impact is usually negligible.
a distance table
ABR19MSCquartets
\insertRefRho19MSCquartets
NANUQ
, NANUQdist
data(pTableYeastRokas)
dist=quartetNetworkDist(pTableYeastRokas, alpha=.05, beta=.95)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.