get.GOdef: Get GO terms and definitions

View source: R/Utilities.R

get.GOdefR Documentation

Get GO terms and definitions

Description

Extracts the term, term-definition, and ontology for all GOIDs (e.g. GO:0000027) in a geneID2GO object into a dataframe. Output also includes a column for all geneIDs mapping to each term as a comma-separated list. Not required presently for the GO enrichment pipeline, but provides useful context for results–very handy to use as a lookup-table for both GO terms and individual geneIDs.

Usage

get.GOdef(geneID2GO = "Pfal_geneID2GO_curated")

Arguments

geneID2GO

geneID2GO object. Defaults to Pfal_geneID2GO_curated (if using the default, you must first load the data-object Pfal_geneID2GO_curated ).

Examples

# example code
data(Pfal_geneID2GO_curated)  ## load Pfal_geneID2GO_curated object
go2genesLookup.df <- get.GOdef(Pfal_geneID2GO_curated)


oberstal/pfGO documentation built on April 22, 2024, 7:15 a.m.