designMatrixAndContrasts: make design matrix and contrasts based on whether...

Description Usage Arguments Value

Description

make design matrix and contrasts based on whether signal_combination is 2 drugs or M/F/Dug

Usage

1
designMatrixAndContrasts(metadata, pipeline, DRUG_COMBINATION = TRUE)

Arguments

metadata

data.frame with metadata retrieved for 4 conditions

pipeline

character vector of length 1 indicating what pipeline is being used to classify interaction modes for each gene

drug_combination

Boolean TRUE when signal x, signal y, and signal x + y are conditions 2, 3, and 4 respectively

Value

list where list[[1]] is the design matrix and list[[2]] represent the contrasts created with limma::make.contrasts if pipeline == "edgeR" if pipeline == "limma", then a design matrix is returned.


taylo5jm/interactions documentation built on May 31, 2019, 3:57 a.m.