CreateBasicData: CreateBasicData

Description Usage Arguments Value Author(s) Examples

View source: R/CreateBasicData.R

Description

Prepare input data.

Usage

1

Arguments

...

A data frame from PrepareData.

Value

a list

Author(s)

Yuanlong Hu

Examples

1
2
3
4
5
6
  data("drugSample")
  drug_herb <- PrepareData(drugSample$drug_herb, col1 = "drug", col2 = "herb")
  herb_target <- PrepareData(drugSample$herb_target,
                             col1 = "herb", col2 = "target",
                             format = "basket", sep = ", ")
  drug_target <- CreateBasicData(drug_herb, herb_target)

immcp documentation built on Nov. 14, 2020, 5:09 p.m.