rr1859 / R.4Cker

MIT License
16 stars 15 forks source link

Error in nearBaitAnalysis #23

Open geneticoman opened 7 years ago

geneticoman commented 7 years ago

Hi,

I did the near bait analysis and I get an error when the window size is between 3-5. If I increase it to 10 it works. The error is:

Error in if (as.character(windows[i, 1]) == chr & windows[i, 2] <= end & : missing value where TRUE/FALSE needed

Do you have any idea what it could possible be? Thanks.

geneticoman commented 7 years ago

Just realized that it does work when k=3 but it gives error with k=4 or 5. I'm using a 4 cutter dpnii, do you know why this happens?