View source: R/drugPerturbationSig.R
drugPerturbationSig | R Documentation |
Creates a signature representing gene expression (or other molecular profile) change induced by administrating a drug, for use in drug effect analysis.
drugPerturbationSig( tSet, mDataType, drugs = NULL, cell_lines = NULL, features = NULL, duration = NULL, dose = NULL, nthread = 1, returnValues = c("estimate", "tstat", "pvalue", "fdr"), verbose = FALSE )
tSet |
|
mDataType |
|
drugs |
|
cell_lines |
|
features |
|
duration |
|
dose |
|
nthread |
|
returnValues |
|
verbose |
|
Given a Toxicoset of the perturbation experiment type, and a character vector of drugs, the function will compute a signature for the effect of drug concentration on the molecular profile of a cell. The algorithm uses a regression model which corrects for experimental batch effects, cell specific differences, and duration of experiment to isolate the effect of the concentration of the drug applied. The function returns the estimated coefficient for concentration, the t-stat, the p-value and the false discovery rate associated with that coefficient, in a 3 dimensional array, with genes in the first direction, drugs in the second, and the selected return values in the third.
ToxicoSig
An object composed of a 3D array with genes in the
first dimension, drugs in the second, and return values in the third.
if (interactive()) { data(TGGATESsmall) drug.perturbation <- drugPerturbationSig(TGGATESsmall, mDataType="rna", features = head(fNames(TGGATESsmall, "rna")), nthread=1) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.