Save_LS_ExcelV2: Save DE Results to Excel, Splitting by Up/Down Regulation

View source: R/Excel.R

Save_LS_ExcelV2R Documentation

Save DE Results to Excel, Splitting by Up/Down Regulation

Description

This function takes a named list of DESeq2 results data frames ('DEgeneLS'), splits each into **Upregulated (log2FoldChange > 0) and Downregulated (log2FoldChange < 0)** genes, and saves them in an Excel workbook, creating separate sheets for each.

Usage

Save_LS_ExcelV2(
  DFLS,
  file_path = "DE_results.xlsx",
  logfc_col = "log2FoldChange"
)

Arguments

DFLS

Named list of data frames containing DE results.

file_path

File path to save the Excel file (default: "DE_results.xlsx").

logfc_col

Name of the column containing log2 fold changes (default: "log2FoldChange").

Value

Saves an Excel file with organized sheets.

Examples

Save_LS_ExcelV2(DEgeneLS, file_path = "DE_results.xlsx")

eisascience/scCustFx documentation built on June 2, 2025, 3:59 a.m.