getPathNames: A function to print pathway names given their numeric ID.

View source: R/catcode.R

getPathNamesR Documentation

A function to print pathway names given their numeric ID.

Description

Given a KEGG pathway ID this function returns the character name of the pathway.

Usage

getPathNames(iPW, organism = "hsa")

Arguments

iPW

A vector of KEGG pathway IDs.

organism

A single character vector of the organism identifier, e.g., "hsa"

Details

This function simply does a look up in KEGGPATHID2NAME and returns a list of the pathway names.

Possible extensions would be to extend it to work with the cMAP library as well.

Value

A list of pathway names.

Author(s)

R. Gentleman

See Also

KEGGPATHID2NAME

Examples


 nms = "00031"
 getPathNames(nms) 

Bioconductor/Category documentation built on Oct. 29, 2023, 4:15 p.m.