read.gaf: Read GAF

Description Usage Arguments Details Value See Also Examples

View source: R/read.gaf.R

Description

This function reads in gene ontology annotations from a GAF file

Usage

1
read.gaf(filename='http://geneontology.org/gene-associations/gene_association.mgi.gz')

Arguments

filename

The name of input file. Should be a (tab-separated text) gene ontology file of GAF format, with one row per GO item per gene.

Details

By default, the argument filename links to the mouse gene ontology data file at geneontology.org. More annotation files can be found from http://geneontology.org/page/download-annotations.

Value

A data.frame with three components:

ID

Accession ID

Symbol

Gene Symbol

GO.ID

GO Term ID

See Also

read.obo

Examples

1
2
3
4
## Not run: 
x = read.gaf()

## End(Not run)

mw201608/msigdb documentation built on Aug. 13, 2021, 10:42 p.m.