aboutsummaryrefslogtreecommitdiff
path: root/src/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/param.h')
-rw-r--r--src/param.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/param.h b/src/param.h
index ff279bd..c4316bb 100644
--- a/src/param.h
+++ b/src/param.h
@@ -26,7 +26,8 @@
#include <set>
#include <vector>
-#define K_BATCH_SIZE 10000 // #snps used for batched K
+#define K_BATCH_SIZE 20000 // #snps used for batched K
+#define DEFAULT_PACE 1000 // for display only
using namespace std;
@@ -115,16 +116,16 @@ public:
class PARAM {
public:
// IO-related parameters
- bool mode_check = true; // run data checks (slower)
- bool mode_strict = false; // exit on some data checks
- bool mode_silence;
- bool mode_debug = false;
- uint issue; // enable tests for issue on github tracker
+ // bool mode_check = true; // run data checks (slower)
+ // bool mode_strict = false; // exit on some data checks
+ // bool mode_silence;
+ // bool mode_debug = false;
+ // uint issue; // enable tests for issue on github tracker
uint a_mode; // Analysis mode, 1/2/3/4 for Frequentist tests
int k_mode; // Kinship read mode: 1: n by n matrix, 2: id/id/k_value;
vector<size_t> p_column; // Which phenotype column needs analysis.
- size_t d_pace; // Display pace
+ size_t d_pace = DEFAULT_PACE; // Display pace (-pace switch)
string file_bfile, file_mbfile;
string file_geno, file_mgeno;
@@ -155,9 +156,6 @@ public:
string file_ksnps; // File SNPs for computing K
string file_gwasnps; // File SNPs for computing GWAS
- // WJA added.
- string file_oxford;
-
// QC-related parameters.
double miss_level;
double maf_level;