Contrast name

contrastName(object, ...)

# S4 method for DESeqResults
contrastName(object, format = c("resultsNames",
  "title"))

# S4 method for DESeqAnalysis
contrastName(object, results)

Arguments

object

Object.

format

character(1). Name format to return:

  • resultsNames: Attempt to matching the conventions in resultsNames().

  • title: Human readable, for plot titles and/or table captions.

results

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

...

Additional arguments.

Value

character(1). Contrast name.

See also

Examples

data(deseq) ## DESeqResults ==== object <- as(deseq, "DESeqResults") contrastName(object)
#> [1] "condition_B_vs_A"
## DESeqAnalysis ==== contrastName(deseq, results = 1L)
#> [1] "condition_B_vs_A"