rr1859 / R.4Cker

MIT License
16 stars 15 forks source link

Error in nearBaitAnalysis #50

Closed autobot101 closed 6 years ago

autobot101 commented 6 years ago

Hello, When using the code line:

nb_results=nearBaitAnalysis(my_obj,k=5)

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

I am getting this error while doing near bait analysis. Kindly help me out with this. Thanks

rr1859 commented 6 years ago

Hi,

What is the format of the input files you are using?

autobot101 commented 6 years ago

Hi, I am using bedgraph files for the input in 4C ker object. Actually the problem was, I had some "gl" values in coordinate column. Because of this it was throwing error "non-numeric argument to binary operator". Now this error is sorted out. Thanks