Learn R Programming

HEMDAG (version 2.1.3)

check.annotation.matrix.integrity: Annotation matrix checker

Description

This function assess the integrity of an annotation table in which a transitive closure of annotations was performed

Usage

check.annotation.matrix.integrity(anc, ann.spec, ann)

Arguments

anc

list of the ancestors of the ontology.

ann.spec

the annotation matrix of the most specific annotations (0/1): rows are genes and columns are terms.

ann

the full annotations matrix (0/1), that is the matrix in which the transitive closure of the annotation was performed. Rows are examples and columns are classes.

Value

If the transitive closure of the annotations is well performed "OK" is returned, otherwise a message error is printed on the stdout

See Also

build.ancestors, transitive.closure.annotations, full.annotation.matrix

Examples

Run this code
# NOT RUN {
data(graph);
data(labels);
anc <- build.ancestors(g);
tca <- transitive.closure.annotations(L, anc);
check.annotation.matrix.integrity(anc, L, tca);
# }

Run the code above in your browser using DataLab