Entering edit mode
                    21 months ago
        Jautis
        
    
        ▴
    
    580
    Hello, I'm trying to run BSmooth (from the bsseq package) and encounting an error that says Error in serialize(data, node$con) : error writing to connection. It looks like this error is usually associated with parallelization, but I can't figure out how to deal with it. Any suggestions?
Thank you in advance!
Code:
myobj <- BSseq(pos = rawdata$start[rawdata$chr == "chr19"], 
      chr = rawdata$chr[rawdata$chr == "chr19"], 
      M = as.matrix(mat_M[rawdata$chr == "chr19",]), 
      Cov = as.matrix(mat_cov[rawdata$chr == "chr19",]))
smobj <- BSmooth(myobj)