PartitionTree {TBEST} | R Documentation |
Find the most detailed partition of a tree into tight branches.
Description
Description: The function finds the most detailed partition of a hierartchical tree into tight branches, given a level of significance for tightness.
Usage
PartitionTree(x,siglevel=0.05,statname="fldc",
sigtype=c("raw","corrected","fdr"))
Arguments
x |
An object of class |
siglevel |
Threshold of significance for tightness of branches. Default is 0.05. |
statname |
A character string specifying the name of measure of tighness whose is significance is to be used for partition. The choices are |
sigtype |
A character string specifying how the significance threshold |
Value
An object of class partition
. See ?partition
for details.
Author(s)
Guoli Sun, Alex Krasnitz
See Also
Examples
## 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")
mypartition<-PartitionTree(x=mytable,siglevel=0.001,statname="fldc",
sigtype="raw")
partition1<-mypartition$partition
sigmatrix1<-mypartition$sigvalue
fix(partition1)
fix(sigmatrix1)
## End(Not run)