This function reads a DESeq2 DEG data frame from an RDS file, filters it,
adjusts the log2FoldChange to absolute values, adds a pseudo-count to pvalues,
and transforms pvalues for plotting. The final data frame is returned and
optionally saved to a new RDS file.
Usage
prep_deseq2(input_path, output_name = NULL)
Value
A data frame with processed DESeq2 DEG data.
Arguments
input_path
Path to the RDS file containing the DESeq2 DEG data frame.
output_name
Name for the processed data frame, also used as the RDS file name.