Skip to content

Commit

Permalink
Removed "None" as adjustment method in Go analysis. Also set ontology…
Browse files Browse the repository at this point in the history
… to "All", as the others are existent themselves already.
  • Loading branch information
PaulJonasJost committed Jan 22, 2024
1 parent 085facd commit db50610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions program/shinyApp/R/enrichment_analysis/enrichment_analysis.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ gene_set_enrichment <- function(
){
EnrichmentRes_GO <- clusterProfiler::gseGO(
gene = geneSetChoice,
ont = input$ontologyForGO,
ont = "All",
keyType = "ENTREZID",
minGSSize = 3,
maxGSSize = 800,
pvalueCutoff = 0.05,
verbose = TRUE,
OrgDb = ifelse(input$OrganismChoice == "hsa","org.Hs.eg.db","org.Mm.eg.db"),
pAdjustMethod = "none" # TODO: discuss
pAdjustMethod = PADJUST_METHOD[[adjustMethod]]
)
res_tmp$EA[[comp_type]][[contrast]]$GO <<- EnrichmentRes_GO
par_tmp$EA[[comp_type]][[contrast]]$GO <<- list("adjustMethod"=adjustMethod, "sort"=sorting)
Expand Down

0 comments on commit db50610

Please sign in to comment.