aboutsummaryrefslogtreecommitdiff
path: root/src/varcov.h
diff options
context:
space:
mode:
authorPeter Carbonetto2017-05-25 22:20:02 -0500
committerPeter Carbonetto2017-05-25 22:20:02 -0500
commit40e338ab5d1754f36b6a12b6f29eee74792e3b3e (patch)
treea5e47c0d1c5b383a737a604f594db238785ea387 /src/varcov.h
parent991cba8fc62c792bfe43afb8659154e97bc8f309 (diff)
downloadpangemma-40e338ab5d1754f36b6a12b6f29eee74792e3b3e.tar.gz
A couple small adjustments to README.
Diffstat (limited to 'src/varcov.h')
-rw-r--r--src/varcov.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/varcov.h b/src/varcov.h
index b380b8c..a7fcd9c 100644
--- a/src/varcov.h
+++ b/src/varcov.h
@@ -1,6 +1,6 @@
/*
Genome-wide Efficient Mixed Model Association (GEMMA)
- Copyright (C) 2011 Xiang Zhou
+ Copyright (C) 2011-2017 Xiang Zhou
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -22,7 +22,6 @@
#include "gsl/gsl_vector.h"
#include "gsl/gsl_matrix.h"
-
#ifdef FORCE_FLOAT
#include "param_float.h"
#include "io_float.h"
@@ -33,13 +32,10 @@
using namespace std;
-
-
-
class VARCOV {
public:
- // IO related parameters
+ // IO related parameters.
string file_out;
string path_out;
string file_geno;
@@ -53,16 +49,17 @@ public:
double time_opt;
- // Class specific parameters
+ // Class specific parameters.
double window_cm;
size_t window_bp;
size_t window_ns;
- // Main functions
+ // Main functions.
void CopyFromParam (PARAM &cPar);
void CopyToParam (PARAM &cPar);
void CalcNB (vector<SNPINFO> &snpInfo_sort);
- void WriteCov (const int flag, const vector<SNPINFO> &snpInfo_sub, const vector<vector<double> > &Cov_mat);
+ void WriteCov (const int flag, const vector<SNPINFO> &snpInfo_sub,
+ const vector<vector<double> > &Cov_mat);
void AnalyzeBimbam ();
void AnalyzePlink ();
};