With any function which utilises the bplapply() function internally contains (or at least should contain) a BPPARAM parameter. We can set the RNGseed parameter of SerialParam() (or any other BiocParallel function) to control the RNG. This allows for us to have consistent output in unit tests
With any function which utilises the
bplapply()
function internally contains (or at least should contain) aBPPARAM
parameter. We can set theRNGseed
parameter ofSerialParam()
(or any otherBiocParallel
function) to control the RNG. This allows for us to have consistent output in unit tests