igrabski / sc-SHC

Significance analysis for clustering single-cell RNA-sequencing data
92 stars 10 forks source link

'mc.cores' > 1 is not supported on Windows #14

Closed Prooomise closed 1 year ago

Prooomise commented 1 year ago

Dear author: Thanks for developing scSHC! It's a useful tool! But I have met a problem when running the function "testClusters". Here is the code I use: new_clusters <- testClusters(pbmc@assays$RNA@counts, as.character(pbmc$seurat_annotations), parallel=FALSE) And there is the error message: Error in mclapply(1:10, function(i) { : 'mc.cores' > 1 is not supported on Windows How can I fix this problem? Thanks a lot!

richardmustaklem commented 1 year ago

set cores=1 and that should do the fix

igrabski commented 1 year ago

Yes, please try setting cores=1 and see if that helps? In the meantime, I am planning to soon update the parallelization to an option that is supported by Windows!

Prooomise commented 1 year ago

Thanks for the reply! The problem was successfully fixed when adding cores=1.