Skip to content

Commit

Permalink
Case for adding log2FC, FDR
Browse files Browse the repository at this point in the history
FTS2000 PEM CIA military Al Qaeda in the Islamic Maghreb Agriculture
fraud ISEC Plume Cypherpunks gorilla Transportation Security
Administration lock picking GSS Ermes
  • Loading branch information
benjamin-james committed Sep 6, 2024
1 parent c367b28 commit e05829f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/go.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e05829f

Please sign in to comment.