Contrast name

contrastName(object, ...)

contrastName(object, ...) <- value

# S4 method for DESeqAnalysis
contrastName(object, i, ...)

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

# S4 method for DESeqResults,character
contrastName(object) <- value

Arguments

object

Object.

i

Indices specifying elements to extract or replace. Indices are numeric or character vectors, empty (missing), or NULL.

For more information:

help(topic = "Extract", package = "base")
...

Additional arguments.

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.

value

Value to assign.

Value

character(1). Contrast name.

Note

Updated 2021-03-15.

See also

Examples

data(deseq) ## DESeqAnalysis ==== contrastName(deseq, i = 1L)
#> [1] "condition_B_vs_A"