Base mean threshold
Arguments
- object
Object.
- i
character,numeric, orNULL. Names or range of results. If setNULL, include all results.- direction
character(1). Include"both","up", or"down"directions.- return
character(1). Return type. Usesmatch.arg()internally and defaults to the first argument in thecharactervector.- ...
Additional arguments.
Value
matrix: Matrix containing numbers of DEGs per contrast. Intended primarily for use withplotDegStackedBar().list: Named vector containing the DEG identifiers. Intended primarily for use withplotDegUpset().
Examples
data(deseq)
## DESeqAnalysis ====
degPerContrast(deseq)
#> condition_B_vs_A treatment_D_vs_C
#> down 13 0
#> up 17 0