quartetTablePrint {MSCquartets}R Documentation

Print a quartet table with nice formatting

Description

Print a quartet table with the taxa in each quartet shown by name.

Usage

quartetTablePrint(qt)

Arguments

qt

a table such as returned by quartetTable, quartetTableResolved, or quartetTableDominant, possibly with extra columns added by other functions

Examples

 gtrees=read.tree(file=system.file("extdata","dataGeneTreeSample",package="MSCquartets"))
 tnames=taxonNames(gtrees)
 QT=quartetTable(gtrees,tnames[1:6])
 QT[1:6,]
 quartetTablePrint(QT[1:6,])
 RQT=quartetTableResolved(QT)
 RQT[1:6,]
 quartetTablePrint(RQT[1:6,])
 pTable=quartetTreeTestInd(RQT,"T3")
 pTable[1:6,]
 quartetTablePrint(pTable[1:6,])
 DQT=quartetTableDominant(RQT)
 DQT[1:6,]
 quartetTablePrint(DQT[1:6,])


[Package MSCquartets version 2.0 Index]