Generate an aggregate matrix of DESeqResults values.

resultsMatrix(object, ...)

# S4 method for DESeqAnalysis
resultsMatrix(object,
  value = c("log2FoldChange", "stat", "padj"))

# S4 method for DESeqAnalysisList
resultsMatrix(object,
  value = c("log2FoldChange", "stat", "padj"))

Arguments

object

DESeqAnalysis.

value

character(1). Value type to return. Corresponds to supported DESeqResults column:

  • log2FoldChange: log2 fold change. This will return shrunken LFC values if they are slotted in the DESeqAnalysis object.

  • stat: Wald test statistic.

  • padj: BH adjusted P value.

...

Additional arguments.

Value

matrix.

Examples

data(deseq) x <- resultsMatrix(deseq)
#> Generating results matrix from lfcShrink slot using log2FoldChange column.
head(x)
#> condition_B_vs_A #> gene001 1.38931178 #> gene002 -0.17798108 #> gene003 -1.75907906 #> gene004 -1.93787239 #> gene005 0.19497655 #> gene006 -0.02967514