getGoMolecularFunctions: GO definitions by AptamerId

Description Usage Arguments Value Examples

View source: R/get-annotations.R

Description

Gets the GO definitions associated with SomaLogic Sequence IDs. There are three datasets, one for each of these domains: molecular function, biological process, and cellular compartment.

Usage

1
2
3
4
5
getGoMolecularFunctions(aptamerIds = NULL, simplify = FALSE)

getGoBiologicalProcesses(aptamerIds = NULL, simplify = FALSE)

getGoCellularComponents(aptamerIds = NULL, simplify = FALSE)

Arguments

aptamerIds

A character vector of SomaLogic Sequence IDs, or NULL to use all 1129 Sequence IDs.

simplify

Logical. Should the output be collapsed into a single data.frame?

Value

A list of data frames. The names of the list are the input aptamerIds, and the data frame associated with that element contains:

UniProtId

Character. UniProt ID for the protein target.

GoId

Character. GO ID for property of the target protein.

GoName

Character. Name corresponding to the GO ID.

GoDefinition

Character. Description corresponding to the GO ID.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# Each AptamerId may have one, many, or zero associated GO descriptions
getGoMolecularFunctions(c("2278-61", "3505-6", "4916-2"))
getGoBiologicalProcesses(c("2278-61", "3505-6", "4916-2"))
getGoCellularComponents(c("2278-61", "3505-6", "4916-2"))

# Get everything in the 1310 and 1129 panels.
## Not run: 
getGoMolecularFunctions()
getGoBiologicalProcesses()
getGoCellularComponents()

## End(Not run)

readat documentation built on Oct. 31, 2019, 8:19 a.m.