Convert a PharmacoSet to a data.table that is prepare for input into gDR pipeline
Source:R/pset_to_gdrDF.R
convert_pset_to_df.Rd
Convert a PharmacoSet to a data.table that is prepare for input into gDR pipeline
Arguments
- pharmacoset
PharmacoSet object
- run_parallel
logical, TRUE (default) if to run functions in Parallel, FALSE to run in serial
- workers
integer, number of workers defaults to 2L if run_parallel is TRUE
Examples
pset <- suppressMessages(getPSet(
"Tavor_2020",
psetDir = system.file("extdata/pset", package = "gDRimport"),
use_local_PSets_list = TRUE
))
dt <- convert_pset_to_df(pset)
gDRutils::reset_env_identifiers()