CreateBasicData {immcp}R Documentation

CreateBasicData

Description

Create BasicData Object

Usage

CreateBasicData(..., diseasenet = NULL, biomarker = NULL)

Arguments

...

Drug graph from PrepareData.

diseasenet

A graph of Disease-related gene from PrepareData.

biomarker

Character vector, the vector of Disease-related gene.

Value

A BasicData object.

Author(s)

Yuanlong Hu

Examples

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)

[Package immcp version 1.0.3 Index]