[adegenet-forum] error using snapclust
shripathi bhat
shripathipn at yahoo.co.in
Wed Apr 4 16:49:16 CEST 2018
Hi, I was trying to apply snapclust function on my genind object (from structure input file). Here I used prior K and pop.ini was factor of pop id (numbers) for all individuals. snapclust initially reads the geneind object and then exits with error "Error in t(ll)[cbind(seq_along(group), as.integer(group))] : subscript out of bounds". I tried to google, but no luck. snapclust works perfectly when I use it with find.clusters (pop.ini =geneindobject$grp),
With regards,
Shri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20180404/df108ab5/attachment.html>
More information about the adegenet-forum
mailing list