Skip to content

Commit

Permalink
run BiocParallel example
Browse files Browse the repository at this point in the history
  • Loading branch information
mschubert committed Aug 19, 2024
1 parent 8879d18 commit ec84432
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vignettes/userguide.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ we can use `clustermq`:
# set up the scheduler first, otherwise this will run sequentially
# this accepts same arguments as `Q`
# the number of jobs is ignored here since we're using the LOCAL scheduler
clustermq::register_dopar_cmq(n_jobs=2, memory=1024)
# this will be executed as jobs
Expand All @@ -250,7 +251,7 @@ As [BiocParallel](https://bioconductor.org/packages/release/bioc/html/BiocParall
supports `foreach` too, this means we can run all packages that use `BiocParallel`
on the cluster as well via `DoparParam`.

```{r eval=FALSE}
```{r}
library(BiocParallel)
# the number of jobs is ignored here since we're using the LOCAL scheduler
Expand Down

0 comments on commit ec84432

Please sign in to comment.