Skip to content
Prev 12483 / 21312 Next

[Bioc-devel] parallel processing in R?

Hi Bhakti,

On Mon, Dec 11, 2017 at 12:19 PM, Dwivedi, Bhakti <bhakti.dwivedi at emory.edu>
wrote:
The canonical package for parallel computing in Bioconductor is
BiocParallel:
https://bioconductor.org/packages/release/bioc/html/BiocParallel.html
One can choose what backend to use for parallelism.  You can switch from
using SerialParam for cheap and cheerful lapply-like functionality to the
default MultiCoreParam and SnowParam which nicely logs useful things like
memory usage.

It does not look like ConsensusClusterPlus is importing any parallel
package of it's own that you need to fight against, so best case scenario
is you look at the function of interest you want to run many times and run
that function with BiocParallel's bplapply.  Or if there are multiple
levels of parallelism like internal and external looping then you might
have to dive into ConsensusClusterPlus and inject bplapply statements
ideally allowing some bpparam() argument passing for the inner and outer
loops.
Pariksheet
Message-ID: <CAETDJV1-3WO9w-2jRBn3zQ-E5oXsjaBp+xWvLnmkqB__Mf30jg@mail.gmail.com>
In-Reply-To: <BN3PR0501MB1107881DD8F3888367389E8F9B370@BN3PR0501MB1107.namprd05.prod.outlook.com>