quartetTableResolved {MSCquartets} | R Documentation |
Modify quartet table to show only resolved quartets
Description
Converts table of all quartet counts, including unresolved ones, by either dropping unresolved ones, or distributing them uniformly among the three resolved counts.
Usage
quartetTableResolved(qt, omit = FALSE)
Arguments
qt |
table, as produced by |
omit |
|
Value
a table of quartet counts similar to qt
, but with columns showing only resolved quartet counts
See Also
quartetTable
, quartetTableDominant
Examples
gtrees=read.tree(file=system.file("extdata","dataGeneTreeSample",package="MSCquartets"))
tnames=taxonNames(gtrees)
QT=quartetTable(gtrees,tnames[1:6])
QT[1:6,]
RQT=quartetTableResolved(QT)
RQT[1:6,]
[Package MSCquartets version 2.0 Index]