getGO {biomaRt}R Documentation

Retrieves GO information

Description

This function retrieves GO information from Ensemble given a gene identifier

Usage

getGO( id = NULL, type = NULL, array = NULL, species = NULL, mart = NULL)

Arguments

id gene identifier
type type of identifier, value should be either affy, entrezgene, embl, hugo, ensembl or refseq
array array identifier only to be used if gene identifiers are from affy arrays. An overview of the accepted identifiers can be obtained with the function: getAffyArrays()
species species, only to be used if type equals locuslink. Accepted values for species can be retrieved by the function getSpecies()
mart object of class Mart, containing connections to the BioMart databases. You can creat such an object using the function martConnect.

Author(s)

Steffen Durinck, http://www.esat.kuleuven.ac.be/~sdurinck

See Also

Examples

## Not run: 
mart <- martConnect()

#example using affy id

getGO( id = "1939_at", array = "hg_u95av2", mart = mart)

#example using locuslink id

getGO( id = 672, type = "entrezgene", species = "hsapiens", mart = mart)

martDisconnect(mart = mart)
## End(Not run)

[Package biomaRt version 1.0.4 Index]