View source: R/deseq2_contrasts.R
deseq2_contrasts | R Documentation |
Apply DESeq2's DESeq
, results
,and lfcShrink
to one or more contrasts, and return a data.frame
deseq2_contrasts(
dds,
grp = NULL,
contrast.v,
add.means = !is.null(grp),
cols = c("pvalue", "padj", "log2FoldChange"),
ncore = 1,
shrunken = TRUE
)
dds |
DESeqDataSet object. |
grp |
Vector of sample groups. These must be valid variable names in R and the same length as
|
contrast.v |
Named vector of contrasts, passed to |
add.means |
Logical indicating if (unweighted) group means per row should be added to the output. |
cols |
Columns of |
ncore |
Number of cores to use. |
shrunken |
logical, whether to shrink the log fold-change |
grp
isn't needed if add.means
is FALSE
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.