View source: R/limma_aux_functions.R
makeContrastsAlt | R Documentation |
makeContrastsAlt
This function create a contrast matrix to be used by limma.
makeContrastsAlt(targets, comparisons)
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. |
a contrast matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.