Learn R Programming

ptm (version 0.2.2)

get.go: Get Gene Ontology Annotation

Description

Gets the gene ontology annotations for a given protein.

Usage

get.go(id, filter = TRUE, format = 'dataframe', silent = FALSE)

Arguments

id

the UniProt identifier of the protein of interest.

filter

logical, if TRUE a reduced number of terms, selected on the basis of astringent criteria (see details) is returned.

format

string indicating the output's format. It should be either 'dataframe' or 'string'. The 'string' format may be convenient when subsequent GO terms enrichment analysis is intended.

silent

logical, if FALSE print details of the reading process.

Value

Returns a dataframe (by default) with GO IDs linked to the protein of interest, as well as additional information related to these GO ids. A string with the GO ids can be obtained as output if indicated by means of the argument 'format'.

Details

Since some well-characterized proteins can have many GO annotations, it may be convenient to filter the shown GO terms. When filter is set to TRUE, the annotated terms displayed are those provided by the corresponding UniProtKB entry, which are selected based on their granularity and evidence code quality (with manual annotations preferred over automatic predictions). Annotations that have been made to isoform identifiers, or use any of the GO annotation qualifiers (NOT, contributes_to, colocalizes_with) are also removed.

References

Rhee et al. (2008) Nature Reviews Genetics 9:509<U+2013>515.

See Also

search.go, term.go(), bg.go(), hdfisher.go(), gorilla(), net.go()

Examples

Run this code
# NOT RUN {
get.go('P01009')
# }

Run the code above in your browser using DataLab