A helper function called from within `drugPerturbationSig`. This is intended for developer use only; if you aren't debugging the package, this should not be used.
rankGeneDrugPerturbation(
data,
drug,
drug.id,
drug.concentration,
type,
xp,
batch,
duration,
single.type = FALSE,
nthread = 1,
verbose = FALSE
)
gene expression data matrix
single or vector of drug(s) of interest; if a vector of drugs is provided, they will be considered as being the same drug and will be jointly analyszed
drug used in each experiment
drug concentration used in each experiment
cell or tissue type for each experiment
type of experiment (perturbation or control)
experiment batches
The duration of the experiment, in a consistent unit
Should the statitsics be computed for each cell/tissue type separately?
number of parallel threads (bound to the maximum number of cores available)
[list] of data.frame
s with the statistics for each gene, for each type