geneDrugPerturbation: Compute gene-drug associations

Description Usage Arguments Value Examples

View source: R/geneDrugPerturbation.R

Description

Function computing gene-drug associations from perturbation data

Usage

1
geneDrugPerturbation(x, concentration, type, batch, duration, model = FALSE)

Arguments

x

[numeric] Vector of gene expression values

concentration

[numeric] Vector with drug concentrations/doses

type

[factor] Vector of factors specifying the cell lines or type types

batch

[factor] Vector of factors specifying the batch

duration

[character] Vector of measurement times (in hours)

model

[logical] Should the full linear model be returned? Default set to FALSE

Value

[numeric] Vector reporting the effect size (estimateof the coefficient of drug concentration), standard error (se), sample size (n), t statistic, and F statistics and its corresponding p-value

Examples

1
2
3
4
5
6
7
8
ToxicoGx::drugPerturbationSig(tSet = TGGATESsmall,
  mDataType="rna",
  cell_lines="Hepatocyte",
  duration="24",
  dose=c("Control", "Low"),
  drugs=c("Omeprazole", "Isoniazid"),
  returnValues=c("estimate","tstat", "pvalue", "fdr"),
  verbose=FALSE)

ToxicoGx documentation built on Nov. 19, 2020, 2 a.m.