I just installed the new 2.7.2 version of dartR from CRAN today.
When I try to run the following filter:
x2 <- gl.filter.secondaries(x1, method = "best")
I now get this error (which I wasn't getting previously for the same data set):
Error in strsplit(as.character(x2@other$loc.metrics$AlleleID), "\\|") :
object 'x2' not found
I don't get the error when I run:
x2 <- gl.filter.secondaries(x1, method = "random")
Not sure why this is occuring.