adjMatrixTermsAncestors: Function to return the adjacency matrix of input GO term...

Description Usage Arguments Value Author(s) See Also

View source: R/adjMatrixTermsAncestors.R

Description

Function to return the adjacency matrix of input GO term numbers in specified ontology.

Usage

1
adjMatrixTermsAncestors(GOtermNrInclAncestors, OntologyNr = 1)

Arguments

GOtermNrInclAncestors

Numeric; Vector of GO term numbers of GO terms and their ancestors up to the root in gene ontology specified by OntologyNr.

OntologyNr

Numeric; Default: 1 To select the ontology. One of 1 for biological process, 2 for molecular function or 4 for cellular component.

Value

AdjMatrix

Numeric; Adjacency matrix of GOtermNrInclAncestors. AdjMatrix[i,j] == 1 iff GO term i is parent of GO term j. Named by GOtermIds.

GOtermNrs

Numeric; The GO term numbers corresponding to rows and columns of AdjMatrix.

Author(s)

CL

See Also

termsAncestors.


CLippmann/dbtORA documentation built on Feb. 4, 2020, 12:37 a.m.