You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vignettes/rbioapi_enrichr.Rmd
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,8 @@ Sys.sleep(3)
110
110
# Request the enrichment analysis by a specific library
111
111
results_msig_hallmark <- rba_enrichr(
112
112
gene_list = genes,
113
-
gene_set_library = "MSigDB_Hallmark_2020"
113
+
gene_set_library = "MSigDB_Hallmark_2020",
114
+
progress_bar = FALSE # to avoid printing issues in the vignette
114
115
)
115
116
```
116
117
@@ -143,7 +144,8 @@ Sys.sleep(3)
143
144
results_msig <- rba_enrichr(
144
145
gene_list = genes,
145
146
gene_set_library = "msig",
146
-
regex_library_name = TRUE
147
+
regex_library_name = TRUE,
148
+
progress_bar = FALSE # to avoid printing issues in the vignette
147
149
)
148
150
149
151
# You can drop `regex_library_name = TRUE`, as it is TRUE by default.
@@ -258,6 +260,9 @@ results_msig <- rba_enrichr(
258
260
If you choose to follow the step-by-step approach, please note that Enrichr relies on an API back-end called [speedrichr](https://github.com/MaayanLab/speedrichr) to handle analysis with a background gene list. Therefore, when performing an analysis with background gene list, you must explicitly upload the target gene list to speedrichr. . Later steps will automatically interact with speedrichr as long as the relevant parameters for the background genes are specified.
259
261
260
262
```{r background_gene_list_approach2, eval=FALSE}
263
+
264
+
# Assume we have the background genes in the variable my_background_genes
0 commit comments