Making register() a generic
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start by reading BiocParallel::register() and its internal registry machinery, then compare the existing BiocSingular::bsparam() behavior. Done means the project has an agreed mechanism for managing package-specific default Param objects through the registry without relying on separate global options.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
BiocNeighbors and BiocSingular follow BiocParallel's paradigm of using *Param objects to specify the algorithm and parameters to use for NN searching and SVD, respectively.
I have recently added a BiocSingular::bsparam() function that returns a "default" Param object, in much the same way that BiocParallel::bpparam() works. The idea is that developers can specify bsparam() in their functions/scripts and it will use a global default value that can be changed by the user. This is more convenient than passing the new Param explicitly to each function.
Currently, I am using a global options() to handle this, but it would be nice to use the BiocParallel::register() interface (and its internal machinery) to manage the setting and getting of the global default. One could imagine making register() an S4 generic, or even better, adding a simple mechanism that allows my packages to save to a different slot of the existing registry.
- Lingua principale
- R
- Stelle
- 69
- Fork
- 32
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Bioconductor/BiocParallel
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
Bioconductor/BiocParallel#286 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 50/100
Bioconductor/BiocParallel#285 ·
-
Bioconductor/BiocParallel#284 · 2 commenti · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Bioconductor/BiocParallel#283 · 2 commenti ·
-
DoparParam: Captured stdout is relayed to stdout for some foreach adapters and stderr for others Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Bioconductor/BiocParallel#277 ·
Tutte le issue di Bioconductor/BiocParallel
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
robjhyndman/forecast#1220 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
JamesHWade/deputy#192 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
bug triage_needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
pharmaverse/rtables#1123 · 1 commento · 1 reazione ·