View source: R/limmaAnalysis.R
make.contrast | R Documentation |
Builds the contrast matrix
make.contrast(design, condition, contrast = 1, design.level = 1)
design |
The data.frame which correspond to the 'pData()' function of package 'MSnbase'. |
condition |
xxxxx |
contrast |
An integer that Indicates if the test consists of the comparison of each biological condition versus each of the other ones (Contrast=1; for example H0:"C1=C2" vs H1:"C1!=C2", etc.) or each condition versus all others (Contrast=2; e.g. H0:"C1=(C2+C3)/2" vs H1:"C1!=(C2+C3)/2", etc. if there are three conditions). |
design.level |
xxx |
A constrat matrix
Thomas Burger, Quentin Giai-Gianetto, Samuel Wieczorek
data(Exp1_R25_pept, package='DAPARdata')
design <- make.design(Biobase::pData(Exp1_R25_pept))
conds <- Biobase::pData(Exp1_R25_pept)$Condition
make.contrast(design, conds)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.