inst/doc/immcp.R

## ----eval=FALSE---------------------------------------------------------------
#  library(immcp)
#  data(drugdeom)
#  names(drugdemo)

## ----eval=FALSE---------------------------------------------------------------
#  drug_herb <- PrepareData(drugdemo$drug_herb, from = "drug", to="herb")
#  herb_compound <- PrepareData(drugdemo$herb_compound, from = "herb", to="compound")
#  compound_target <- PrepareData(drugdemo$compound_target, from = "compound", to="target")
#  disease <- PrepareData(drugdemo$disease, diseaseID = "disease",from = "target", to="target")
#  BasicData <- CreateBasicData(drug_herb, herb_compound, compound_target, diseasenet = disease)

## ----eval=FALSE---------------------------------------------------------------
#  DisDrugNet <- CreateDisDrugNet(BasicData, drug = "Drug1",     disease = "disease")
#  plot_graph(DisDrugNet, size = 20)

Try the immcp package in your browser

Any scripts or data that you put into this service are public.

immcp documentation built on May 12, 2022, 9:05 a.m.