View source: R/CreateBasicData.R
CreateBasicData | R Documentation |
Create BasicData Object
CreateBasicData(..., diseasenet = NULL, biomarker = NULL)
... |
Drug graph from |
diseasenet |
A graph of Disease-related gene from |
biomarker |
Character vector, the vector of Disease-related gene. |
A BasicData object.
Yuanlong Hu
data(drugdemo) 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.