R/pmdvis.R
plotcn.Rd
plot PMD KEGG network for certain compounds and output network average distance and degree
plotcn(formula, name, pmd)
Chemical formula
Compound name
specific paired mass distances
plotcn('C6H12O6','Glucose',c(2.016,14.016,15.995))
#> Average distance of PMD network is 9.42710759198882
#> Average degree 2.8421052631579