Skip to content

An error showed "'error in evaluating the argument 'x' in selecting a method for function 'as.data.frame': 'mc.cores' > 1 is not supported on Windows" #82

Description

@thsign7788

I am using a Windows system but I get the message "mc.cores is not supported on Windows"
Can I bypass this issue?
thank you for the help

DMRichR::DM.R (genome = "hg38",

  •            maxPerms = 7, 
    
  •            maxBlockPerms = 7, 
    
  •            sexCheck = TRUE,
    
  •            adjustCovariate = "Age",
    
  •            testCovariate = "Diagnosis")
    

genome = hg38
coverage = 1
perGroup = 0.75
minCpGs = 5
maxPerms = 7
maxBlockPerms = 7
cutoff = 0.05
testCovariate = Diagnosis
adjustCovariate = Age
cores = 20
sexCheck = TRUE
EnsDb = FALSE
GOfuncR = TRUE

[DMRichR] Selecting annotation databases 10-12-2023 上午 08:50:23
Loading BSgenome.Hsapiens.UCSC.hg38.masked
Loading TxDb.Hsapiens.UCSC.hg38.knownGene
Loading org.Hs.eg.db
Saving Rdata...

[DMRichR] Processing Bismark cytosine reports 10-12-2023 上午 08:50:23
Selecting files...
Reading cytosine reports...
[read.bismark] Parsing files and constructing valid loci ...
Done in 1422.8 secs
[read.bismark] Parsing files and constructing 'M' and 'Cov' matrices ...
Done in 1843 secs
[read.bismark] Constructing BSseq object ...
Assigning sample metadata with Diagnosis as factor of interest...
DataFrame with 7 rows and 3 columns
Diagnosis Age Sex

sample1MQA1.CpG Disease 21 F
sample2MQA3.CpG Disease 22 F
sample3MQA5.CpG Disease 20 F
sample4MQA7.CpG Disease 22 F
sample5MQA4.CpG Control 22 F
sample6MQA6.CpG Control 20 F
sample7MQA8.CpG Control 22 F
Checking sex of samples...
Sex of samples match correctly as all male or all female.
Filtering CpGs for Diagnosis...
Assuming adjustment covariate Age is continuous and excluding it from filtering...
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'as.data.frame': 'mc.cores' > 1 is not supported on Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions