Learn R Programming

GOxploreR (version 1.1.0)

GOTermBPOnLevel: GO biological process (BP) terms level getter

Description

Gets the level of a GO biological process (BP) term based on the directed acyclic graph (DAG).

Usage

GOTermBPOnLevel(goterm)

Arguments

goterm

An object of class character. A character string of GO biological process (BP) term id. The object can be a GO-term or a vector of GO-terms

Value

A two-column matrix of the GO-terms and the level they map to

Examples

Run this code
# NOT RUN {
# A vector of biological process GO terms
goterms <- c("GO:0006805","GO:0009083","GO:0006631","GO:0006629")

GOTermBPOnLevel(goterms)

GOTermBPOnLevel("GO:0055114")
# }

Run the code above in your browser using DataLab