Skip to contents

This function calculates inference for differential expression analysis based on the results of DESeq2.

Usage

get_inference_dds(dds, lfcThreshold, altHypothesis, correction_method)

Arguments

dds

A dds object

lfcThreshold

Log fold change threshold for determining differentially expressed genes.

altHypothesis

Alternative hypothesis for testing, one of "greater", "less", or "greaterAbs".

correction_method

Method for multiple hypothesis correction, e.g., "BH" (Benjamini-Hochberg).

Value

A data frame containing inference results, including statistics, p-values, and adjusted p-values.

Examples

if (FALSE) {
# Example usage of the function
inference_result <- get_inference_dds(dds, lfcThreshold = 0.5, 
                                   altHypothesis = "greater", 'BH')
}