Learn R Programming

TPEA (version 3.1.0)

viewpathway: The visualization of interested pathway based on the genes you input, such as differentially expressed genes.

Description

Input the number of the interested pathway in KEGG Database and genes you interested in, such as differentially expressed genes.

Usage

viewpathway(pathwayID, DEGs)

Arguments

pathwayID

The number of interested pathway ID in KEGG Database, such as "hsa05210".

DEGs

The genes you interested in, such as differentially expressed genes.

Value

The interface link to KEGG Database to visualize the pathway you input.

Details

The "DEGs" must be Entrez ID. If not, please translate them into Entrez ID.

Examples

Run this code
DEGs<-c(836,842,5594,595);
DEG<-as.data.frame(DEGs);
pathwayID<-"hsa05210";
viewpathway(pathwayID,DEG);

Run the code above in your browser using DataLab