plot PMD KEGG network for certain compounds and output network average distance and degree

plotcn(formula, name, pmd)

Arguments

formula

Chemical formula

name

Compound name

pmd

specific paired mass distances

Examples

plotcn('C6H12O6','Glucose',c(2.016,14.016,15.995))
#> Average distance of PMD network is 9.42710759198882
#> Average degree 2.84210526315789