Learn R Programming

MSCquartets (version 3.1)

treeFromSplits: Produce tree from compatible splits

Description

Produce tree from compatible splits

Usage

treeFromSplits(sp, plot = FALSE)

Value

a phylo object for tree displaying splits

Arguments

sp

a compatible split system, as produced by compatibleSplits

plot,

a logical, if TRUE, plot tree

See Also

compatibleSplits, TINNIK

Examples

Run this code
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

Run the code above in your browser using DataLab