This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error While Using BSmooth in bsseq

I am using the BSmooth.tstat() function in the bsseq R package but I get the following error. I can use the test data without error but not my own data.

  • meth_fit = BSmooth(BSseq = meth, verbose = TRUE)
  • meth_stat = BSmooth.tstat(meth_fit, group1 = c(1, 2, 3), group2 = c(4, 5, 6))

[BSmooth.tstat] preprocessing ... done in 5.7 sec [BSmooth.tstat] computing stats within groups ... done in 3.0 sec [BSmooth.tstat] computing stats across groups ... Error in h(simpleError(msg, call)) : error in evaluating the argument 'args' in selecting a method for function 'do.call': need at least two non-NA values to interpolate

enter image description here

error bsmooth wgbs bsseq methylation

1 answer

Solved that very day by filtering pseudo-chromosomes with chrSelectBSseq() function :)

Log in to answer this question.