TransBioInfoLab / coMethDMR

Detect Regions of Concurrent Differential Methylation
https://transbioinfolab.github.io/coMethDMR/
7 stars 2 forks source link

`CoMethAllRegions()` fails on Windows #13

Closed gabrielodom closed 2 years ago

gabrielodom commented 2 years ago

The following code (vignette 2, line 134) works on Mac but errors on Windows:

coMeth_ls <- CoMethAllRegions(
    dnam = resid_mat,
    betaToM = FALSE,
    method = "spearman",
    arrayType = "450k",
    CpGs_ls = closeByGene_ls[1:10],
    nCores_int = 2
  )

I am expecting this code to execute serially on Windows, not error. The error message is

Error: BiocParallel errors
  element index: 1, 2, 3, 4, 5, 6, ...
  first error: invalid subsetting