Load, convert and process the level 6 PRISM data into a gDR input
Source:R/prism_to_gdrDF.R
convert_LEVEL6_prism_to_gDR_input.Rd
Load, convert and process the level 6 PRISM data into a gDR input
Usage
convert_LEVEL6_prism_to_gDR_input(
prism_data_path,
cell_line_data_path,
treatment_data_path,
readout_min = 1.03
)
Arguments
- prism_data_path
path to PRISM LEVEL6 csv file with collapsed log fold change data
- cell_line_data_path
path to cell line info data
- treatment_data_path
path to collapsed treatment info data
- readout_min
minimum ReadoutValue
Examples
prism_data_path <- system.file("testdata/prism_collapsed_LOGFC.csv", package = "gDRimport")
cell_line_data_path <- system.file("testdata/prism_cell_lines.csv", package = "gDRimport")
treatment_data_path <- system.file("testdata/prism_treatment.csv", package = "gDRimport")
convert_LEVEL6_prism_to_gDR_input(prism_data_path, cell_line_data_path, treatment_data_path)
#> clid Gnumber DrugName drug_moa Duration Concentration
#> <char> <char> <char> <char> <num> <num>
#> 1: some_clid some_drug_name some_drug_name some_drug_moa 120 2.325889
#> 2: some_clid vehicle vehicle vehicle 120 0.000000
#> ReadoutValue masked
#> <num> <lgcl>
#> 1: 0.9892612 FALSE
#> 2: 1.0000000 FALSE