check.annotation.matrix.integrity {HEMDAG} | R Documentation |
Annotation matrix checker
Description
Assess the integrity of an annotation matrix where a transitive closure of annotations was performed.
Usage
check.annotation.matrix.integrity(anc, ann.spec, ann)
Arguments
anc |
the ancestor list. |
ann.spec |
the annotation matrix of the most specific annotations (0/1): rows are genes and columns are terms. |
ann |
the full annotation matrix (0/1), i.e. the matrix where the transitive closure of the annotation was performed. Rows are examples and columns are terms. |
Value
If the transitive closure of the annotations is performed correctly, OK
is returned, otherwise an error message is printed on the stdout.
Examples
data(graph);
data(labels);
anc <- build.ancestors(g);
tca <- transitive.closure.annotations(L, anc);
check.annotation.matrix.integrity(anc, L, tca);
[Package HEMDAG version 2.7.4 Index]