partition | R Documentation |
Description: This object is a list of four items, which jointly specify a detailed partition of a hierarchical tree into tight branches.
Call |
An object of class Call, specifying the function call which generated the list. |
best |
An object of class "best", see |
sigvalue |
A two-column matrix, with one row per each internal node of the tree. The first column enumerates the nodes. The second column profides the significance estimate for the tightness of the node. |
partition |
A two-column data frame specifying the partitition. The first column is a character vector with the names of the leaves. The second column provides the number of the part to which the leaf belongs. |
Guoli Sun, Alex Krasnitz
PartitionTree
,best
,SigTree
## Not run: data(leukemia) mytable<-SigTree(data.matrix(leukemia),mystat="all", mymethod="ward",mymetric="euclidean",rand.fun="shuffle.column", distrib="Rparallel",njobs=2,Ptail=TRUE,tailmethod="ML") class(mytable) mypartition<-PartitionTree(x=mytable,siglevel=0.001,statname="fldc", sigtype="raw") class(mypartition) names(mypartition) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.