g2go: Function to extract GO annotation and corresponding ancestor...

Description Usage Arguments Value Author(s) Examples

View source: R/calSim.R

Description

The function is used to extract annotated GO terms including their ancestor terms based on mapping information.

Usage

1
g2go(gid, tid = NULL, filter = NULL, map = org.Hs.egGO)

Arguments

gid

The gene ID to extract GO annotation.

tid

If tid is a group of GO IDs instead of NULL, the ancestors of input GO IDs will return.

filter

The evidence code to filter GO terms.

map

The mapping between gene IDs to go IDs.

Value

A data frame including GO IDs, Evidence codes, Ontology and their counts.

Author(s)

Qiang Hu

Examples

1
g2go("10")

FSim documentation built on May 2, 2019, 6:30 p.m.