rr1859 / R.4Cker

MIT License
16 stars 15 forks source link

non-numeric argument #55

Closed Inswasti closed 5 years ago

Inswasti commented 5 years ago

Hi Ramya, I got this error:

[1] "Building adaptive windows..." Error in coord[i] - coord[(i - k)] : non-numeric argument to binary operator

I have removed all non-numeric arguments from the bed files, self-ligated & adjacent fragments too (as discussed in other discussion topics). But still ended up with the same error, for all 3 analyses. Does it matter if my coverage did not pass the QC and I just went ahead with analyses? I got the error above even when running trans analysis.

Thanks

rr1859 commented 5 years ago

Hi,

The QC is just a warning so that should not be a problem. Are you sure you removed all the chromosome contigs from your file?

Inswasti commented 5 years ago

Hi,

Noted re the QC. Yes I removed all contigs. After much checking, it turned out that the chromosome coordinates were actually character type, in all my bed files. I don't know how I got it. But as soon as I fixed this, it could work.

Thank you