Skip to content

Commit

Permalink
colnames fixed when unique GO is enriched
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseCorCab committed Oct 16, 2024
1 parent 023a9b5 commit 25d80d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/functional_analysis_library.R
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,8 @@ multi_topGOTest <- function(funsys, genes_list, nodeSize = 5, org_db,
p.value = result,
topNodes = length(result@score),
format.FUN = function(x, dig, eps){x})
colnames(res_table)[6] <- "p.value"

if(clean_parentals)
res_table <- clean_topGO_parentals(res_table, funsys, p_value_cutoff)
res_table$fdr <- p.adjust(res_table$p.value, method = "BH", n = length(res_table$p.value))
Expand Down

0 comments on commit 25d80d1

Please sign in to comment.