diff options
author | Pjotr Prins | 2017-10-26 07:15:59 +0000 |
---|---|---|
committer | Pjotr Prins | 2017-10-26 07:15:59 +0000 |
commit | f9eacf6637b091c794a4692cfd0646c9a5bcf35a (patch) | |
tree | efa0e36e3971b14c4ffc36bd7bdd0538b7392af6 | |
parent | 4f739b8e9968bf8e43955e66d78a6e6988195f33 (diff) | |
download | pangemma-f9eacf6637b091c794a4692cfd0646c9a5bcf35a.tar.gz |
Changed SNPs into SNPs/var in output, ref https://github.com/genetics-statistics/GEMMA/issues/107#issuecomment-339475978
-rw-r--r-- | src/param.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/param.cpp b/src/param.cpp index 1a27a53..1f583e2 100644 --- a/src/param.cpp +++ b/src/param.cpp @@ -17,6 +17,7 @@ */ #include <iostream> +#include <iomanip> #include <string> #include <algorithm> #include <cmath> @@ -1136,15 +1137,15 @@ void PARAM::CheckData(void) { cout << "## number of total genes = " << ng_total << endl; } else if (file_epm.empty() && a_mode != 43 && a_mode != 5) { if (!loco.empty()) - cout << "## leave one chromosome out (LOCO) = " << loco << endl; - cout << "## number of total SNPs = " << ns_total << endl; + cout << "## leave one chromosome out (LOCO) = " << setw(8) << loco << endl; + cout << "## number of total SNPs/var = " << setw(8) << ns_total << endl; if (setSnps.size()) - cout << "## number of considered SNPS = " << setSnps.size() << endl; + cout << "## number of considered SNPS = " << setw(8) << setSnps.size() << endl; if (setKSnps.size()) - cout << "## number of SNPS for K = " << setKSnps.size() << endl; + cout << "## number of SNPS for K = " << setw(8) << setKSnps.size() << endl; if (setGWASnps.size()) - cout << "## number of SNPS for GWAS = " << setGWASnps.size() << endl; - cout << "## number of analyzed SNPs = " << ns_test << endl; + cout << "## number of SNPS for GWAS = " << setw(8) << setGWASnps.size() << endl; + cout << "## number of analyzed SNPs = " << setw(8) << ns_test << endl; } else { } } |