From f9eacf6637b091c794a4692cfd0646c9a5bcf35a Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Thu, 26 Oct 2017 07:15:59 +0000 Subject: Changed SNPs into SNPs/var in output, ref https://github.com/genetics-statistics/GEMMA/issues/107#issuecomment-339475978 --- src/param.cpp | 13 +++++++------ 1 file 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 +#include #include #include #include @@ -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 { } } -- cgit v1.2.3