filtering secondaries error

26 views
Skip to first unread message

pkri...@cesaraustralia.com

unread,
Dec 20, 2022, 1:29:57 AM12/20/22
to dartR
Hi folks,
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.
Peter

Jose Luis Mijangos

unread,
Dec 20, 2022, 2:14:21 AM12/20/22
to dartR
Hi Peter,

Thank you for informing us about this bug. The fix is available in the dartR beta version, which you may install by using the code below:

> library(dartR)
> gl.install.vanilla.dartR(flavour = "beta")

Cheers,
Luis
Reply all
Reply to author
Forward
0 new messages