Learn R Programming

timma (version 1.2.0)

timmaModel1: Predicting drug sensitivity with binary drug-target interaction data using two.sided TIMMA model

Description

A function to predict the drug sensitivity with binary drug-target interaction data using the two.sided TIMMA model

Usage

timmaModel1(drug_target_profile, y_actual, loo = TRUE)

Arguments

drug_target_profile
the drug-target interaction data. See timma.
y_actual
a drug sensitivity vector.
loo
a logical value indicating whether to use the leave-one-out cross-validation in the model selection process. By default, loo = TRUE.

Value

  • A list containing the following components:
  • dummythe predicted efficacy matrix
  • errorthe prediction errors
  • predictionpredicted drug sensitivity
  • The difference between timmaModel and timmaBinary is timmaModel returns the predicted efficacy matrix of all possible target combinations while timmaBinary not.

Examples

Run this code
data(tyner_interaction_binary)
data(tyner_sensitivity)
results<-timmaModel1(tyner_interaction_binary[, 1:6], tyner_sensitivity[,1])

Run the code above in your browser using DataLab