[Genabel-commits] r1257 - pkg/ProbABEL/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Jun 29 23:58:31 CEST 2013


Author: lckarssen
Date: 2013-06-29 23:58:31 +0200 (Sat, 29 Jun 2013)
New Revision: 1257

Modified:
   pkg/ProbABEL/src/main.cpp
Log:
Change the order of beta and se_beta's in the header of 2df output files. The old order was beta_A1A2, beta_A1A1, followed by the concommitant se_beta's. However, when looking at the numeric data in the output file (and comparing with R output) the order should be beta_A1A2, se_beta_A1A2, followed by the same combination for A1A1. 

Thanks to Anne G. for reporting this bug and to Yurii for giving the solution. 
This fixes bug #4700. 



Modified: pkg/ProbABEL/src/main.cpp
===================================================================
--- pkg/ProbABEL/src/main.cpp	2013-06-29 21:46:50 UTC (rev 1256)
+++ pkg/ProbABEL/src/main.cpp	2013-06-29 21:58:31 UTC (rev 1257)
@@ -190,10 +190,10 @@
     *outfile[0] << input_var.getSep()
                 << "beta_SNP_A1A2"
                 << input_var.getSep()
+                << "sebeta_SNP_A1A2"
+                << input_var.getSep()
                 << "beta_SNP_A1A1"
                 << input_var.getSep()
-                << "sebeta_SNP_A1A2"
-                << input_var.getSep()
                 << "sebeta_SNP_A1A1";
     *outfile[1] << input_var.getSep()
                 << "beta_SNP_addA1"



More information about the Genabel-commits mailing list