aertslab / SCENIC

SCENIC is an R package to infer Gene Regulatory Networks and cell types from single-cell RNA-seq data.
http://scenic.aertslab.org
GNU General Public License v3.0
394 stars 94 forks source link

parallelization problem in R? #224

Closed MilanPicard closed 2 years ago

MilanPicard commented 2 years ago

Hi, when running runSCENIC_2_createRegulons in R, the last part of the function " Pruning Targets" does not run in parallel. Maybe only I have this problem, anyway I've corrected it by putting a mclapply in the function addSignificantGenes: " signifMotifsAsList <- mclapply(geneSetNames, function(gsn) { ... } , mc.cores = nCores)"