robinweide / GENOVA

GENome Organisation Visual Analytics
GNU General Public License v3.0
69 stars 15 forks source link

NA in bed data.frame in ATA throws an error #202

Closed deWitLab closed 4 years ago

deWitLab commented 4 years ago

If I run ATA with a bed dataset with NAs in there I get the following error message:

Error in if (sum(keep) < 1) { : missing value where TRUE/FALSE needed

Maybe we can do some error handling here.

teunbrand commented 4 years ago

Just a note; we'd catch ~90% of these cases if we'd put this NA-check in bed2idx().

teunbrand commented 4 years ago

It now signals more clearly that there are NAs.