makeContrastsAlt: 'makeContrastsAlt'

View source: R/limma_aux_functions.R

makeContrastsAltR Documentation

makeContrastsAlt

Description

This function create a contrast matrix to be used by limma.

Usage

makeContrastsAlt(targets, comparisons)

Arguments

targets

A n*2 dataframe, where n is the number of samples. First column correspond to samples, second column correspond to conditions.

comparisons

a list of numeric vectors. Each vector represent which condition should be conpared. Example : c(2,-1) means that the first condition should be substracted from second condition. Vectors can be more than two element for complex contrasts.

Value

a contrast matrix


saezlab/ocean documentation built on Nov. 12, 2024, 5 a.m.