ontologyNr: Returns for given GOterm the corresponding gene ontology.

Description Usage Arguments Value Author(s)

View source: R/ontologyNr.R

Description

Returns for given GOterm (as ID or number) the corresponding gene ontology as number, where 1 codes for biological process, 2 for molecular function and 4 for cellular component. If the result is 0, something went wrong.

Usage

1
ontologyNr(GOtermNrOrId, Verbose = FALSE)

Arguments

GOtermNrOrId

String vector [1:n] of GOtermIds (like 'GO:0008150') OR Numeric vector [1:n] of GOterm numbers (like 8150).

Verbose

Boolean variable. If TRUE, function prints information in GUI window. Default: FALSE

Value

OntoNumber

Numeric vector [1:n] indicating the Gene Ontology that the GOterm belongs to.

Author(s)

CL


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