minimizeSelection {goCluster}R Documentation

Reduces the leaves of a tree to minimal p-values

Description

Given a tree that holds significant annotation terms for a number of clusters, the function will reduce the selection of annotation terms in each node to the one with minimal p-value.

Usage

minimizeSelection(X, annotations)

Arguments

X The tree of selected, significant annotations terms.
annotations The number of annotations present in the tree.

Value

The tree, reduced to the annotation terms with minimal p-value.

Author(s)

Gunnar Wrobel, work@gunnarwrobel.de, http://www.gunnarwrobel.de.

See Also

clusterVisualHclust-class

Examples

namedv1 <- c(0.01,0.1)
names(namedv1) <- c("GeneA", "GeneB")
namedv2 <- c(0.01,0.01)
names(namedv2) <- c("GeneB", "GeneC")
namedv3 <- c(0.5,0.1)
names(namedv3) <- c("GeneD", "GeneE")

a <- list(annotationA = namedv1,
          annotationB = namedv2,
          annotationC = namedv3)
b <- list(list(a,a),list(a,a))

minimizeSelection(a,3)

minimizeSelection(b,3)


[Package goCluster version 1.6.0 Index]