Learn R Programming

ProNet (version 1.0.0)

go.profiles: GO enrichment comparison

Description

GO enrichment comparison between networks.

Usage

go.profiles(g_ref, g_comp, color = c("red", "white"), onto = c("MF", "BP", "CC"), mode = c("number", "frequency"), demonstration.number = 10, plot = TRUE, ...)

Arguments

g_ref
Vector of the first set of molecules.
g_comp
Vector of the second set of molecules.
color
Color represent of the two sets.
onto
GO categories, three possible values are MF for GO function, BP for GO process, and CC for GO componet
mode
Mode of the GO vlues, either Frequency or Number.
demonstration.number
Number of the top GOs to display.
plot
Logical value, whether to plot the profiling result (if TRUE) or not (if FALSE).
...
other arguments.

Value

A data frame of the profiling result and plots.

Examples

Run this code
entrez1<-c("11067","414157","196477","147339","642")
entrez2<-c("121549","51160","83878","11338","196477","9319","608","7015")
go.profiles(entrez1,onto="MF",main="Only Network 1")
go.profiles(entrez1,entrez2,onto="MF",main=c("Network 1 vs 2"))

Run the code above in your browser using DataLab