Skip to contents

Build an assay table with selected assay profiles for drug combinations

Usage

# S4 method for LongTable
buildComboProfiles(object, profiles)

Arguments

object

LongTable or inheriting class containing curated drug combination data.

profiles

character a vector of profile names, i.e., column names of assays.

Value

A data.table containing fields treatment1id, treatment1dose, treatment2id, treatment2dose, sampleid, which are used as keys to keep track of profiles, along with columns of selected profiles from their assays. Each *_1 is the monothearpy profile of treatment 1 in the combination, and the same rule applies to treatment 2.

Examples

if (FALSE) {
combo_profile_1 <- buildComboProfiles(tre, c("auc", "SCORE"))
combo_profile_2 <- buildComboProfiles(tre, c("HS", "EC50", "E_inf", "ZIP"))
}