[adegenet-commits] r288 - pkg/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Apr 1 19:27:31 CEST 2009


Author: jombart
Date: 2009-04-01 19:27:31 +0200 (Wed, 01 Apr 2009)
New Revision: 288

Modified:
   pkg/R/sequences.R
Log:
DNAbin2... ok


Modified: pkg/R/sequences.R
===================================================================
--- pkg/R/sequences.R	2009-04-01 17:21:44 UTC (rev 287)
+++ pkg/R/sequences.R	2009-04-01 17:27:31 UTC (rev 288)
@@ -63,7 +63,7 @@
     x <- x[,toKeep]
 
     ## build output
-    res <- df2genind(x, pop=pop, ploidy=1, ncode=1)
+    res <- df2genind(x, pop=pop, ploidy=1, ncode=1, type="codom")
     res$call <- match.call()
 
     return(res)



More information about the adegenet-commits mailing list