aboutsummaryrefslogtreecommitdiff
path: root/src/prdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/prdt.h')
-rw-r--r--src/prdt.h23
1 files changed, 9 insertions, 14 deletions
diff --git a/src/prdt.h b/src/prdt.h
index 8af2cee..2da9fd0 100644
--- a/src/prdt.h
+++ b/src/prdt.h
@@ -1,6 +1,6 @@
/*
- Genome-wide Efficient Mixed Model Association (GEMMA)
- Copyright (C) 2011 Xiang Zhou
+ Genome-wide Efficient Mixed Model Association (GEMMA)
+ 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
@@ -13,31 +13,25 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __PRDT_H__
#define __PRDT_H__
-
#include <vector>
#include <map>
#include <string.h>
#include "gsl/gsl_vector.h"
#include "gsl/gsl_matrix.h"
-
-#ifdef FORCE_FLOAT
-#include "param_float.h"
-#else
#include "param.h"
-#endif
using namespace std;
class PRDT {
public:
- // IO related parameters
+ // IO-related parameters.
size_t a_mode;
size_t d_pace;
@@ -59,18 +53,19 @@ public:
double time_eigen;
- // Main functions
+ // Main functions.
void CopyFromParam (PARAM &cPar);
void CopyToParam (PARAM &cPar);
void WriteFiles (gsl_vector *y_prdt);
void WriteFiles (gsl_matrix *Y_full);
- void AddBV (gsl_matrix *G, const gsl_vector *u_hat, gsl_vector *y_prdt);
+ void AddBV (gsl_matrix *G, const gsl_vector *u_hat,
+ gsl_vector *y_prdt);
void AnalyzeBimbam (gsl_vector *y_prdt);
void AnalyzePlink (gsl_vector *y_prdt);
- void MvnormPrdt (const gsl_matrix *Y_hat, const gsl_matrix *H, gsl_matrix *Y_full);
+ void MvnormPrdt (const gsl_matrix *Y_hat, const gsl_matrix *H,
+ gsl_matrix *Y_full);
};
-
#endif