This is a test version of Biostars. For the public version, visit https://www.biostars.org.
RRBS data analysis using RnBeads give Scan() error

Dear all,

I am working on RRBS data using RnBeads but in the beginning of the analysis I have this error from R:

result <- rnb.run.analysis(dir.reports=report.dir, data.source=data.source, data.type="bs.bed.dir")
2017-07-31 15:12:51     1.0  STATUS                                                                 COMPLETED Automatically parsing the provided sample annotation file
Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec,  : 
scan() expected 'a real', got ''12/12''

Is there anyone can help me?

Many thanks in advance,
Rahel

rrbs 450k rnbeads

1 answer

So, I found the solution, The reason was that I forgot to define import.bed.style like this:

rnb.options(import.bed.style= "EPP")

Now everything is working as usual without error!

Log in to answer this question.