View source: R/PartitionTree.R
PartitionTree | R Documentation |
Description: The function finds the most detailed partition of a hierartchical tree into tight branches, given a level of significance for tightness.
PartitionTree(x,siglevel=0.05,statname="fldc", sigtype=c("raw","corrected","fdr"))
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 |
An object of class partition
. See ?partition
for details.
Guoli Sun, Alex Krasnitz
SigTree
,partition
,best
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.