buildComboProfiles-LongTable-method: Build an assay table with selected assay profiles for drug...

buildComboProfiles,LongTable-methodR Documentation

Build an assay table with selected assay profiles for drug combinations

Description

Build an assay table with selected assay profiles for drug combinations

Usage

## S4 method for signature '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

## Not run: 
combo_profile_1 <- buildComboProfiles(tre, c("auc", "SCORE"))
combo_profile_2 <- buildComboProfiles(tre, c("HS", "EC50", "E_inf", "ZIP"))

## End(Not run)


bhklab/CoreGx documentation built on March 14, 2024, 3:04 a.m.