getGoID {PloGO2} | R Documentation

## Function to map a vector of GO terms to the corresponding GO ID's

### Description

This function is rather slow and inefficient, as it first extracts all GO terms then matches the current one. However, it in only intended for a one off matching of terms of interest to the respective nodes.

### Usage

    getGoID(v)

### Arguments

`v` | the precise spelling of the go term

### Value

The list of matched terms, with names the respective GO ID's/

### Author(s)

D. Pascovici

### Examples

    getGoID(c("biological_process", "transport"))

    # however the next one is not found as the proper term name has an
    # underscore "cellular_component"
    getGoID("cellular component")

[Package PloGO2 version 1.6.0 Index]