binarizeDrugTargets: Binarize the drug target profile data

Description Usage Arguments Value Author(s) Examples

Description

A function for binarizing the drug target profile data.

Usage

1
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.

Author(s)

Jing Tang jing.tang@helsinki.fi

Examples

1
2
data(davis)
profile<-binarizeDrugTargets(davis, method="drug-specific", threshold="50fold")

timma documentation built on May 2, 2019, 1:10 p.m.