Learn R Programming

timma (version 1.2.1)

normalizeSensitivity: Normalize the drug sensitivity data

Description

A function to normalize the drug sensitivity data to [0,1]

Usage

normalizeSensitivity(IC50, method = "minMax")

Arguments

IC50
a vector contains the drug sensitivity in the form of IC50.
method
a string to specify the method used to normalize the sensitivity data. If it is "minMax", the sensitivity is scaled by (Max_IC50-IC50)/(Max_IC50-Min_IC50). If it is "logistic", it is scaled by 1/(1+exp(-1/IC50)). If it is "hyperbolic", it is scaled by tanh(1/IC50).

Value

A vector contains the normalized drug sensitivity data.

Examples

Run this code
data(tyner_sensitivity)
normalizedSensitivity<-normalizeSensitivity(tyner_sensitivity[,1])

Run the code above in your browser using DataLab