Relative difference of results
Usage
resultsDiff(x, y, ...)
# S4 method for class 'DESeqAnalysis,missingOrNULL'
resultsDiff(x, y = NULL, i, j, ...)
# S4 method for class 'DESeqResults,DESeqResults'
resultsDiff(
x,
y,
col = c("log2FoldChange", "stat"),
deg = c("no", "intersect", "union"),
direction = c("both", "up", "down"),
alphaThreshold = NULL,
baseMeanThreshold = NULL,
lfcThreshold = NULL
)Arguments
- x
Object.
- y
Object.
- i
Indices specifying elements to extract or replace. Indices are
numericorcharactervectors, empty (missing), orNULL.For more information:
- j
Indices specifying elements to extract or replace. Indices are
numericorcharactervectors, empty (missing), orNULL.For more information:
- ...
Additional arguments.
- col
character(1). Column to use for difference calculation (subtraction). Note thatx/irepresentsAandy/jBinA - Bcalculation.- deg
character(1)."no": Return all genes, corresponding to original row names order."intersect": Return only genes called as DE in both contrasts."union": Return genes called as DE in either contrast.
- direction
character(1). Include"both","up", or"down"directions.- alphaThreshold
numeric(1)orNULL. Adjusted P value ("alpha") cutoff. If leftNULL, will use the cutoff defined in the object.- baseMeanThreshold
numeric(1)orNULL. Base mean (i.e. average expression across all samples) threshold. If leftNULL, will use the cutoff defined in the object. Applies in general to DESeq2 RNA-seq differential expression output.- lfcThreshold
numeric(1)orNULL. Log (base 2) fold change ratio cutoff threshold. If leftNULL, will use the cutoff defined in the object.