Description Usage Arguments Value See Also Examples
View source: R/graph.utility.R
This function assess the integrity of an annotation table in which a transitive closure of annotations was performed.
1 | check.annotation.matrix.integrity(anc, ann.spec, ann)
|
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 annotation matrix (0/1), that is the matrix in which the transitive closure of the annotation was performed. Rows are examples and columns are classes. |
If the transitive closure of the annotations is well performed "OK" is returned, otherwise a message error is printed on the stdout.
build.ancestors
, transitive.closure.annotations
, full.annotation.matrix
1 2 3 4 5 | data(graph);
data(labels);
anc <- build.ancestors(g);
tca <- transitive.closure.annotations(L, anc);
check.annotation.matrix.integrity(anc, L, tca);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.