Learn R Programming

GOexpress (version 1.6.1)

list_genes: Returns the genes associated with a Gene Ontology

Description

Given a Gene Ontology (GO) identifier represented in the dataset, returns a character vector listing the feature identifiers annotated to it.

Usage

list_genes(go_id, result, data.only=TRUE)

Arguments

go_id
A Gene Ontology (GO) identifier represented in the dataset.
result
The output of GO_analyse() or a subset of it obtained from subset_scores().
data.only
Whether to return only the feature identifiers present in the given dataset or alternatively returns all feature identifiers associated with the GO term in the Ensembl BioMart. Default is TRUE.

Value

A character vector listing the feature identifiers of the genes associated with the GO term.

See Also

Method GO_analyse.

Examples

Run this code
# load the sample output data
data(AlvMac_results)

# List of genes associated with the GO term "toll-like receptor 4 signaling
# pathway"
list_genes(result=AlvMac_results, go_id="GO:0034142")

Run the code above in your browser using DataLab