andreaskapou / scMET

Bayesian modelling of DNA methylation heterogeneity at single-cell resolution
20 stars 1 forks source link

How to use multiple CPU threads? #1

Closed LKremer closed 3 years ago

LKremer commented 3 years ago

Hi there, thanks for making this tool! I'm currently trying it out and noticed that scMET uses only a single core even when I set n_cores to a higher number. Is this a bug or do I have to register the threads first (if so, how)? Cheers, Lukas

alanocallaghan commented 3 years ago

n_cores will only take effect when using MCMC (so when use_mcmc = TRUE). It's used to run several MCMC chains in parallel

LKremer commented 3 years ago

Ah, I see! Thanks