Contrast name

# S4 method for DESeqResults
contrastName(object)

# S4 method for DESeqAnalysis
contrastName(object, results)

Arguments

object

Object.

results

character(1) or integer(1). Name or position of DESeqResults.

Value

character(1). Contrast name.

Examples

data(deseq) ## DESeqResults ==== object <- as(deseq, "DESeqResults") contrastName(object)
#> [1] "condition B vs A"
## DESeqAnalysis ==== contrastName(deseq, results = 1L)
#> DESeqResults: condition B vs A (shrunken LFC)
#> [1] "condition B vs A"