diff options
author | Pjotr Prins | 2020-09-30 08:55:06 +0100 |
---|---|---|
committer | Pjotr Prins | 2020-09-30 08:56:18 +0100 |
commit | cf4b9ce2445912db7af04d349ca19a1bda7b9de6 (patch) | |
tree | ad62977baa2683483d6a9858021067daa1068c8a /src/gemma_io.cpp | |
parent | fc516ae334ef68d453aeece8de521ff76017b811 (diff) | |
download | pangemma-cf4b9ce2445912db7af04d349ca19a1bda7b9de6.tar.gz |
Align R2 filter with docs
Diffstat (limited to 'src/gemma_io.cpp')
-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; } |