aboutsummaryrefslogtreecommitdiff
path: root/src/gemma_io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gemma_io.cpp')
-rw-r--r--src/gemma_io.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gemma_io.cpp b/src/gemma_io.cpp
index 2380d45..cd2a5d1 100644
--- a/src/gemma_io.cpp
+++ b/src/gemma_io.cpp
@@ -2,7 +2,7 @@
Genome-wide Efficient Mixed Model Association (GEMMA)
Copyright © 2011-2017, Xiang Zhou
Copyright © 2017, Peter Carbonetto
- Copyright © 2017, Pjotr Prins
+ Copyright © 2017-2020, Pjotr Prins
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -1494,7 +1494,7 @@ bool BimbamKin(const string file_geno, const set<string> ksnps,
gsl_vector_add_constant(geno, -1.0 * geno_mean);
- if (k_mode == 2 && geno_var != 0) {
+ if (k_mode == 2 && geno_var != 0) { // centering
gsl_vector_scale(geno, 1.0 / sqrt(geno_var));
}
// set the SNP column ns_test