[adegenet-forum] snapclust and genlight

Pfau, Dr. Russell S. PFAU at tarleton.edu
Mon Oct 22 15:27:30 CEST 2018


Hi all,
For snapclust, it appears that it only reads genind objects and not genlight objects. This wasn't mentioned in the tutorial, but I see this specified in the adegenet manual:
Usage snapclust(x, k, pop.ini = "ward", max.iter = 100, n.start = 10, n.start.kmeans = 50, hybrids = FALSE, dim.ini = 100, hybrid.coef = NULL, parent.lab = c("A", "B"), ...)
Arguments
x a genind object
https://cran.r-project.org/web/packages/adegenet/adegenet.pdf

Given that genlight and snapclust (I think) were both developed primarily for large snp datasets, that doesn't make sense to me. I assumed snapclust would use genlight objects, and it took me a while to realize otherwise. It might help others to clarify.

Thanks,
Russell

<+><+><+><+><+><+><+><+><+><+><+><+><+><+><+><+><+><+><+><+>

Russell S. Pfau, PhD
Professor, Department of Biological Sciences

Biological Sciences Box T-0100
Tarleton State University
Stephenville TX 76402

254-968-9761

http://faculty.tarleton.edu/pfau/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20181022/b4733719/attachment.html>


More information about the adegenet-forum mailing list