I keep getting this error when calling
DMRs <- dmrseq(bs=bs, testCovariate="group", cutoff = 0.05, BPPARAM = MulticoreParam(1))
After running through chr1 and chr2, it suddenly causes:
Error in asin.gls.cov(ix = ind[Index], design = design, coeff = coeff) :promise already under evaluation: recursive default argument reference or earlier problems?
pData(bs) looks like:
DataFrame with 6 rows and 2 columns group patient <factor> <integer> B02_22093.CRC non 1 B02_22093.NORMAL NORMAL.non 1 B02_2911.CRC non 2 B02_2911.NORMAL NORMAL.non 2 B03_501.CRC non 3 B03_501.NORMAL NORMAL.non 3
I ran the test dataset
data(BS.chr21), and it ran fine, so I wonder if it has to do with running one chromosome after the other?
Any ideas are appreciated!