Learn R Programming

timma (version 1.2.0)

timmaBinary1: Predicting drug sensitivity with binary drug-target interaction data using modified maximization and minimization rules

Description

A function to predict the drug sensitivity with binary drug-target interaction data using the modified maximization and minimization rules

Usage

timmaBinary1(drug_target_profile, sens, loo = TRUE)

Arguments

drug_target_profile
the drug-target interaction data. See timma.
sens
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 for target combinations
  • errorthe prediction errors
  • predictionpredicted drug sensitivity

Examples

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

Run the code above in your browser using DataLab