Alpha level cutoff summary statistics
Source:R/AllGenerics.R
, R/alphaSummary-methods.R
alphaSummary.Rd
Quickly generate a summary table of various alpha level cutoffs.
Usage
alphaSummary(object, ...)
# S4 method for DESeqAnalysis
alphaSummary(object, ...)
# S4 method for DESeqDataSet
alphaSummary(
object,
alpha = c(0.1, 0.05, 0.01, 0.001, 1e-06),
contrast = NULL,
name = NULL
)
Arguments
- object
Object.
- ...
Additional arguments.
- alpha
numeric
. Multiple alpha cutoffs.- contrast
character
. A character vector with exactly 3 elements:Name of factor in the design formula.
Name of numerator level for the fold change.
Name of denominator level for the fold change.
See
DESeq2::results()
for details.- name
character(1)
. Name of the individual effect (coefficient) for building a results table. Use this argument rather thancontrast
for continuous variables.
Examples
data(deseq)
## DESeqAnalysis ====
alphaSummary(deseq, contrast = c("condition", "B", "A"))
#> ℹ condition B A
#> 0.1 0.05 0.01 0.001 1e-06
#> LFC > 0 (up) 39 34 17 3 0
#> LFC < 0 (down) 31 23 13 6 1
#> outliers [1] 0 0 0 0 0
#> low counts [2] 97 49 87 0 0
alphaSummary(deseq, name = "condition_B_vs_A")
#> ℹ condition_B_vs_A
#> 0.1 0.05 0.01 0.001 1e-06
#> LFC > 0 (up) 39 34 17 3 0
#> LFC < 0 (down) 31 23 13 6 1
#> outliers [1] 0 0 0 0 0
#> low counts [2] 97 49 87 0 0