Skip to contents

the pathview of differential metabolites

Usage

pPathview(cpd.data, gene.data = NULL, hsaid = NULL, outdir = "./")

Arguments

cpd.data

character vector,the metabolites' value, log2(fold change)

gene.data

default is NULL, the gene expression data, log2(fold change)

hsaid

default is NULL, the hsa pathway id wanted to plot

outdir

the output directory

Value

test

Examples

kegg_id <- c("C02494","C03665","C01546","C05984","C14088","C00587")
value <- c(-0.3824620,0.1823628,-1.1681486,0.5164899,1.6449798,-0.7340652)
names(value) <- kegg_id
cpd.data <- value

pPathview(cpd.data, outdir="./")
#> Warning: data set ‘bods’ not found
#> 'select()' returned 1:1 mapping between keys and columns
#> Info: Working in directory /Users/guituantuan/Desktop/R_packages/MNet/docs/reference
#> Info: Writing image file hsa00640.pathview.metabolite.png
#> Warning: data set ‘bods’ not found
#> 'select()' returned 1:1 mapping between keys and columns
#> Info: Working in directory /Users/guituantuan/Desktop/R_packages/MNet/docs/reference
#> Info: Writing image file hsa00400.pathview.metabolite.png
#> Warning: '.' already exists
#> 0 files moved. 35 failed.
#> 0 files moved. 2 failed.