This is a C++ function, used in TINNIKdist
, to initialize for
inference of B and T quartets. Doucumentation if for internal use only.
initBquartets(pTable, m, alpha, beta, colptest, colpstar, Bquartets)
two lists, "Lout" with indices of initial B-quartets, "Bout" with TRUE/FALSE for all sets of 4 taxa indicating which are B-quartets
a quartet table with p-values
number of rows in pTable
critical value for tree test
critical value for star tree test
column with p value for tree test
column with p value for star tree test
0/1 vector encoding initial B quartets
quartetTable
, quartetTableParallel