Learn R Programming

timma (version 1.2.1)

binarizeDrugTargets: Binarize the drug target profile data

Description

A function for binarizing the drug target profile data.

Usage

binarizeDrugTargets(profile, method = "universal", threshold = "100nM")

Arguments

profile
a matrix with non-binary entries. The rows are drugs and the columns are targets.
method
a string to specify the methods used for binarizing the data. When it is "universal", an universal threshold is used. In such case, another parameter threshold can only be one of "100nM", "1000nM", and "10000nM". When it is "drug-specific", the threshold used for binarization depends on each drug and the parameter threshold can be only one of "10fold", "50fold", and "100fold".
threshold
a string to specify the threshold.

Value

A matrix contains the binarized drug target data.

Examples

Run this code
data(davis)
profile<-binarizeDrugTargets(davis, method="drug-specific", threshold="50fold")

Run the code above in your browser using DataLab