onto2gene: Ontology ID to gene IDs

Description Usage Arguments Value Examples

View source: R/onto2gene.R

Description

Ontology ID to gene IDs

Usage

1
onto2gene(id, organism = "hsa")

Arguments

id

ID of any ontology term

organism

Organism identifier (required for GO annotations). Default is "hsa". Currently human (hsa), mouse (mmu) and rat (rno) are supported. Full list of organism IDs can be found [here](https://www.genome.jp/kegg/catalog/org_list.html).

Value

A list object containing gene IDs for each ontology ID

Examples

1
2
3
4
5
6
## Not run: 
id <- lapply(sample_data, function(x){head(x$ID)})
id <- do.call(c, id)
onto2gene(id)

## End(Not run)

altintasali/ontoClust documentation built on Dec. 19, 2021, 1:36 a.m.