| groupCount {goCluster} | R Documentation |
Counts the number of elements in a tree (list of lists).
groupCount(X)
X |
A tree (list of lists) of clusters |
Traverses a tree from the top to the leave nodes and counts the number of leave nodes or elements.
The number of elements in the tree
Gunnar Wrobel, work@gunnarwrobel.de, http://www.gunnarwrobel.de.
set.seed(1000)
data(benomylsetupsmall)
a <- new("goCluster")
execute(a) <- benomylsetupsmall
## Counts the number of clusters that have been analyzed in
## the statistical module of goCluster. This number is the
## product of the number of clusters in a single clustering
## and the number of randomized repeats that were analyzed
## for the FDR analysis
groupCount(a@sign@stat@statset)