This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error in mitch reports in R

Error in mitch reports in R

while I was producing mitch reports with mitch_report function in R, I got that error :

"Error in MASS:::kde2d(ss[, 1], ss[, 2]) : 
  missing or infinite values in the data are not allowed". 

Is there any solution other than remove NAs, as I have NAs inside the data ? Thanks in advance

mitch r

can't you just set the NA's to 0? ss[is.na(ss)] <- 0

Hi Amr I'm interested in whether this is a bug or there is something wrong with your pipeline. Feel free to raise an issue on the mitch github repo and we can sort it out.

0 answers

No answers yet.

Log in to answer this question.