[adegenet-forum] error using snapclust

Roman Luštrik roman.lustrik at biolitika.si
Wed Apr 4 19:52:04 CEST 2018


Hi, 

it would be best if you could provide a reproducible example (data, code). 

Cheers, 
Roman 

---- 
In god we trust, all others bring data. 


From: "shripathi bhat" <shripathipn at yahoo.co.in> 
To: adegenet-forum at lists.r-forge.r-project.org 
Sent: Wednesday, April 4, 2018 4:49:16 PM 
Subject: [adegenet-forum] error using snapclust 

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 


_______________________________________________ 
adegenet-forum mailing list 
adegenet-forum at lists.r-forge.r-project.org 
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20180404/db162dc8/attachment.html>


More information about the adegenet-forum mailing list