clusterProfiler (version 3.0.4)

groupGO: Functional Profile of a gene set at specific GO level. Given a vector of genes, this function will return the GO profile at a specific level.

Description

Functional Profile of a gene set at specific GO level. Given a vector of genes, this function will return the GO profile at a specific level.

Usage

groupGO(gene, OrgDb, keytype = "ENTREZID", ont = "CC", level = 2, readable = FALSE)

Arguments

gene
a vector of entrez gene id.
OrgDb
OrgDb
keytype
keytype of input gene
ont
One of "MF", "BP", and "CC" subontologies.
level
Specific GO Level.
readable
if readable is TRUE, the gene IDs will mapping to gene symbols.

Value

A groupGOResult instance.

See Also

groupGOResult-class, compareCluster

Examples

Run this code

	data(gcSample)
	yy <- groupGO(gcSample[[1]], 'org.Hs.eg.db', ont="BP", level=2)
	head(summary(yy))
	#plot(yy)

Run the code above in your browser using DataLab