From e05829fb9015bfdb8e18dd3388ee2e13f833f3c3 Mon Sep 17 00:00:00 2001 From: Benjamin James Date: Thu, 5 Sep 2024 22:50:00 -0400 Subject: [PATCH] Case for adding log2FC, FDR FTS2000 PEM CIA military Al Qaeda in the Islamic Maghreb Agriculture fraud ISEC Plume Cypherpunks gorilla Transportation Security Administration lock picking GSS Ermes --- R/go.R | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/R/go.R b/R/go.R index f5e4893..781b1ec 100644 --- a/R/go.R +++ b/R/go.R @@ -62,6 +62,10 @@ enrichALL_Excel <- function(xlsx, new_sheet, OrgDb, method, gene_col="gene", } } else { openxlsx::addWorksheet(wb, meth_path) + if (nrow(df) > 0) { + df$log2FC=min_log2FC + df$FDR=max_FDR + } } if (nrow(df) > 0) { openxlsx::writeData(wb, meth_path, df)