Description Usage Arguments Value Author(s)
View source: R/GOroot2TermPaths.R
Function to get all paths from the gene ontology root of the DAG to one target term.
1 | GOroot2TermPaths(TargetTerm, AdjMatrix, GOtermNr, GOroot = 8150)
|
TargetTerm |
Numeric; GO term number of the term that the paths should be found for. |
AdjMatrix |
Numeric; Adjacency matrix of (only) all ancestors of TargetTerm and TargetTerm itself. AdjMatrix[i,j] == 1 iff there exists an edge in GO-DAG from node i to node j (i is parent of j). |
GOtermNr |
Numeric; Vector of GO term numbers corresponding to rows and columns of AdjMatrix. Has to contain TargetTerm. |
GOroot |
Numeric; Default = 8150 The GO term number of the root of the ontology in which the target term and all GOtermNrs are. One of: 8150 for biological process, 3674 for molecular function or 5575 for cellular component. |
Taxonomy |
Numeric;
A list of indices such that GOtermNr[Taxonomy[[i]]] is the i-th path from
|
CL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.