[adegenet-forum] error in DAPC

Jombart, Thibaut t.jombart at imperial.ac.uk
Mon Dec 1 17:07:29 CET 2014


Best to use existing clusters then.

Check ?find.clusters:
", n.iter=1e5, ..."

and
"
  n.iter: an ‘integer’ indicating the number of iterations to be used
          in each run of K-means algorithm. Corresponds to ‘iter.max’
          of ‘kmeans’ function.
"

Cheers
Thibaut

________________________________
From: adegenet-forum-bounces at lists.r-forge.r-project.org [adegenet-forum-bounces at lists.r-forge.r-project.org] on behalf of Mark Coulson [coulsonmw at gmail.com]
Sent: 01 December 2014 14:49
To: adegenet-forum at lists.r-forge.r-project.org
Subject: [adegenet-forum] error in DAPC

Hi, I do have groups already defined (sites within rivers) and could therefore use those (or indeed the river-level). The clustering step didn't take too long (~ 30 min). Do you mean iter.max (or n.inter) for the number of steps in Kmeans? What is the default for this, so I have an idea for what to increase to?

Cheers,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20141201/3df5fe50/attachment.html>


More information about the adegenet-forum mailing list