Contrast name
Usage
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
orcharacter
vectors, empty (missing
), orNULL
.For more information:
- ...
Additional arguments.
- format
character(1)
. Name format to return:resultsNames
: Attempt to matching the conventions inresultsNames()
.title
: Human readable, for plot titles and/or table captions.
- value
Value to assign.
Examples
data(deseq)
## DESeqAnalysis ====
contrastName(deseq, i = 1L)
#> [1] "condition_B_vs_A"