Subject: adegenet: monmonier bug
From: Yi-Hsin Erica Tsai
Date: Thu, 09 Oct 2008 16:24:21 -0400
To: jombart@biomserv.univ-lyon1.fr

Hi,

I have been using your adegenet R package to compute some Monmonier boundaries.  For the most part, the package behaves excellently and does what I need it to do.  However, in many of my runs I encounter these same errors:

> orig_mon <- optimize.monmonier(coords, Da, cn, threshold=0)
Boundaries computed (required: 10)
1  Error in checkNext(result[[run]]$dir1[[length(result[[run]]$dir1)]]$M,  :
  CheckAllSeg failure (returned value=10, i.e. unchanged, not computed). Please report the bug.

or

> mon <- monmonier(coords, Da, cn, threshold=0, nrun=1, skip.local.diff = rep(1, 1))
Error in checkNext(result[[run]]$dir1[[length(result[[run]]$dir1)]]$M,  :
  CheckAllSeg failure (returned value=10, i.e. unchanged, not computed). Please report the bug.

Do you have any idea what is causing this?  Or how can I fix this problem?  I can send you my input data and code if that is helpful.

Best,
--Erica Tsai

-- 
Yi-Hsin Erica Tsai
Ph.D. Candidate
Department of Biology (Manos Lab)
Duke University

http://www.duke.edu/~yet2/
erica.tsai@duke.edu