View source: R/TreeQuartetDist.R
QDS | R Documentation |
Apply the Quartet Distance Supertree method of \insertCiteRho19;textualMSCquartets to a table specifying a
collection of quartets on n
taxa.
QDS(dqt, method = fastme.bal)
dqt |
an ( |
method |
tree building function (e.g., fastme.bal, nj) |
This function is a wrapper which runs quartetDist
and then builds a tree.
an unrooted metric tree of type phylo. Edge lengths are not in interpretable units
Rho19MSCquartets
quartetTableDominant
,
quartetDist
,
QDC
,
WQDS
,
WQDC
,
WQDCrecursive
gtrees=read.tree(file=system.file("extdata","dataGeneTreeSample",package="MSCquartets"))
tnames=taxonNames(gtrees)
QT=quartetTable(gtrees,tnames[1:6])
RQT=quartetTableResolved(QT)
DQT=quartetTableDominant(RQT)
tree=QDS(DQT)
write.tree(tree)
plot(tree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.