Cleanup a data.table with metadata
Arguments
- df_metadata
a data.table with metadata
- cell_line_annotation
optional data.table with cell line annotations; if NULL (default), annotations are looked up from gDRinternal or gDRtestData
- drug_annotation
optional data.table with drug annotations; if NULL (default), annotations are looked up from gDRinternal or gDRtestData
Examples
df <- data.table::data.table(
clid = "CELL_LINE",
Gnumber = "DRUG_1",
Concentration = c(0, 1),
Duration = 72
)
cleanup_df <- cleanup_metadata(df)