Skip to content

Commit

Permalink
Update Enrichr functions
Browse files Browse the repository at this point in the history
- Implement the option to provide background gene list (Add rba_enrichr_add_background and rewrite other functions accordingly)
- Revise function manuals
  • Loading branch information
moosa-r committed Dec 26, 2024
1 parent 04cbeca commit a0866ad
Show file tree
Hide file tree
Showing 10 changed files with 593 additions and 182 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

export(rba_connection_test)
export(rba_enrichr)
export(rba_enrichr_add_background)
export(rba_enrichr_add_list)
export(rba_enrichr_enrich)
export(rba_enrichr_gene_map)
Expand Down
489 changes: 373 additions & 116 deletions R/enrichr.R

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions R/internal_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,15 @@
"fly",
"yeast",
"worm",
"fish")),
"fish",
"speedrichr")),
human = "Enrichr/",
fly = "FlyEnrichr/",
yeast = "YeastEnrichr/",
worm = "WormEnrichr/",
fish = "FishEnrichr/"),
ptn = "^(https?://)?(www\\.)?maayanlab\\.cloud/.*Enrichr/",
fish = "FishEnrichr/",
speedrichr = "speedrichr/api/"),
ptn = "^(https?://)?(www\\.)?maayanlab\\.cloud/(.*Enrichr|speedrichr)/",
err_ptn = "^$"
),
ensembl = switch(
Expand Down
39 changes: 25 additions & 14 deletions man/rba_enrichr.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

84 changes: 84 additions & 0 deletions man/rba_enrichr_add_background.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 37 additions & 10 deletions man/rba_enrichr_add_list.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 29 additions & 14 deletions man/rba_enrichr_enrich.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a0866ad

Please sign in to comment.