diff options
author | Pjotr Prins | 2020-09-30 08:55:06 +0100 |
---|---|---|
committer | Pjotr Prins | 2020-11-29 08:50:44 +0000 |
commit | 2dcc65a01abb6ec2cb0d90346cc821d15e8d36f6 (patch) | |
tree | 67e191aa1016ac502f75bbebdff62c5df9903dd8 | |
parent | 5d4b24280e21da87814ba1b88310bb9b969c4fef (diff) | |
download | pangemma-2dcc65a01abb6ec2cb0d90346cc821d15e8d36f6.tar.gz |
Align R2 filter with docs
-rw-r--r-- | src/gemma_io.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gemma_io.cpp b/src/gemma_io.cpp index b4f8d39..4bcba62 100644 --- a/src/gemma_io.cpp +++ b/src/gemma_io.cpp @@ -824,7 +824,7 @@ bool ReadFile_geno(const string &file_geno, const set<string> &setSnps, gsl_blas_ddot(genotype, genotype, &v_x); gsl_blas_ddot(Wtx, WtWiWtx, &v_w); - if (W->size2 != 1 && v_w / v_x >= r2_level) { + if (W->size2 != 1 && v_w / v_x > r2_level) { indicator_snp.push_back(0); continue; } |