Learn R Programming

metaboGSE (version 1.2.5)

pwDesc: Description of gene set IDs

Description

This function returns the description of given gene set IDs, e.g. GO, KEGG.

Usage

pwDesc(x, desc.data = NULL)

Arguments

x

A vector of gene set IDs.

desc.data

A named vector of descriptions of all studied gene set IDs. Default: NULL, AnnotationDbi is used if x is a GO term ID. KEGGREST will be called with internet connection required if x is a KEGG pathway ID.

Value

Description

Examples

Run this code
# NOT RUN {
pwDesc("GO:0006696")
pwDesc("genesetX", desc.data=setNames("processX", "genesetX"))
# }
# NOT RUN {
pwDesc("hsa04930")
# }

Run the code above in your browser using DataLab