Learn R Programming

ProNet (version 1.0.0)

enrichment.annotation: GO enrichment annotation

Description

GO enrichment annotation of the functional molecules or networks.

Usage

enrichment.annotation(data, onto = c("MF", "BP", "CC"), pvalue = 0.05)

Arguments

data
An igraph object or vector of vertex names.
onto
GO categories, three possible values are MF for GO function, BP for GO process, and CC for GO componet
pvalue
Significant level. Default value is 0.05.

Value

Numeric vector, pvalue with the length as the size of data.

References

The Gene Ontology Consortium (January 2008). The Gene Ontology project in 2008. Nucleic Acids Res. 36 (Database issue): D440?C4.

Examples

Run this code
entrez<-data.frame(c("121549","51160","83878","11338","196477","9319","608","7015"))
net<-construction(input=entrez,hierarchy=0,species="human",db="Biogrid",ID.type="Entrez Gene")
res<-enrichment.annotation(net,pvalue=0.05,onto="CC")

Run the code above in your browser using DataLab