Helper function to label DE genes from a DESeqResults dataframe with a given Log2FoldChange and padj cutoff. Adds a label column (de) where values are non-significant (0), up-regulated (1) or down-regulated (2).
1 | labelDEgenes(contrast, geneSymbols = NULL, lfc = 2, alpha = 0.05)
|
contrast |
A DESeqResults object |
geneSymbols |
details |
lfc |
Log2FoldChange threshold value |
alpha |
FDR threshold |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.