Skip to contents

drugdb.preload is a pre-processing function for SINBA. It preloads needed drug databases into R workspace,and saves it locally under data/ directory.

Usage

drugdb.preload(db = NULL, main.dir = NULL, out.dir = NULL)

Arguments

db

A vector of characters, users can choose from "BPdb","ChEMBL","cMAP","Drugbank_V5.1", "rDGIdb_1.8.0" and "Repurposing_HUB". If NULL, all the drug databases will be used. Default is NULL.

main.dir

character, the main directory for SINBA package. If NULL, will be system.file(package = "SINBA"). Default is NULL.

out.dir

charater, the directory to save drug database information. If NULL, will be system.file(package = "SINBA"). Default is NULL.

Details

Users need to choose the drug databse sources(e.g. "BPdb","ChEMBL","cMAP","Drugbank_V5.1", "rDGIdb_1.8.0","Repurposing_HUB")

Examples

drugdb.preload()
#> Error in drugdb.preload(): could not find function "drugdb.preload"

if (FALSE) { # \dontrun{
drugdb.preload()
} # }