Description Usage Arguments Value
View source: R/createContrasts.R
This function automatically generates contrasts which can be used with the popular
differential gene expression pipelines of limma-voom
, edgeR
or DESeq2
.
1 2 3 4 5 6 7 | createContrasts(
samples,
groups,
contrastType = "limma",
interactions = FALSE,
contrastLevel = NULL
)
|
samples |
The samples description data frame from which the contrasts are to be constructed |
groups |
The column names in the |
contrastType |
One of |
interactions |
|
contrastLevel |
An integer which can take values from 1 to the numer of groups. If it is 1, only top-level contrasts are returned. Defaults to the number of groups. |
A named character vector (for limma
) or list (for DESeq2
) with the contrasts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.