treeFromSplits {MSCquartets}R Documentation

Produce tree from compatible splits

Description

Produce tree from compatible splits

Usage

treeFromSplits(sp, plot = FALSE)

Arguments

sp

a compatible split system, as produced by compatibleSplits

plot

a logical, if TRUE, plot tree

Value

a phylo object for tree displaying splits

See Also

compatibleSplits, TINNIK

Examples

data(pTableYeastRokas)
dist=NANUQdist(pTableYeastRokas, alpha=.05, beta=.95,outfile=NULL)
nn=neighborNet(dist)
plot(nn,"2D")
tob=treeFromSplits(compatibleSplits(nn$splits),plot=TRUE) #produce tree of blobs of splits graph


[Package MSCquartets version 2.0 Index]