-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGlobalVars_SingleTrait.h
96 lines (78 loc) · 2.5 KB
/
GlobalVars_SingleTrait.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#ifndef GLOBAL_VARS_SINGLE_TRAIT_H
#define GLOBAL_VARS_SINGLE_TRAIT_H
/// @addtogroup qbGeno
/// @{
/// QTL genotypes
/// @note: RV contests the inclusion of this variable into a Genotype data structure. It is the only var in Geno that gets extra dimensions for multiple traits. Does that indicate that it belongs elsewhere?
extern int **GENO;
/// @}
/// @addtogroup qbPheno
/// @{
/// phenotypic data
extern double *Y;
/// @}
/// genotypic valyes
extern double *GVALUE;
//***************************************************************************************
/// @defgroup qbOp Variables that should reside in the qp.op structure
/// @{
/// coefficients of QTL main effects
extern double ***COEF;
/// QTL position indicators, position is GRID[QCHR[L]][QLOC[L]]
extern int *QLOC;
/// chromosomes that QTL locate
extern int *QCHR;
/// @defgroup qbOpCovariate Variables in qb.op.covariate
/// @{
/// effects of fixed covariates
extern double *FIX;
/// effects of random covariates
extern double **RAN;
/// variances of random covariates
extern double *VRAN;
/// interactions of QTL main effects and fixed covariates
extern double ***GBYE_FIX;
/// @}
/// @defgroup qbOpIterdiag Variables in qb.op.iterdiag
/// @{
/// overall mean
extern double AMU;
/// QTL indicators
extern int *GAMMA;
/// residual variance
extern double *VE;
/// @}
/// @defgroup qbOpMainloci Variables in qb.op.mainloci
/// @{
/// main effects
extern double **MAIN;
/// main effects indicators
extern int *GAMMA_MAIN;
/// prior variance of main effects
extern double **VMAIN;
/// prior variance of main effects
extern double *VMAIN1;
/// @}
/// @defgroup qbOpPairloci Variables in qb.op.pairloci
/// @{
/// epistatic effects
extern double ****EPISTATIC;
/// epistatic effects indicators
extern int **GAMMA_EPISTASIS;
/// prior variance of epistatic effects
extern double ****VEPISTASIS;
/// prior variance of epistatic effects
extern double **VEPISTASIS1;
/// @}
/// @defgroup qbOpGbyE Variables in qb.op.gbye
/// @{
/// g-by-e indicators
extern double **GAMMA_GBYE;
/// prior variance of g-by-e effects
extern double ***V_GBYE_FIX;
/// prior variance of g-by-e effects
extern double **V_GBYE_FIX1;
/// @}
/// @}
//*************************************************************************************************************
#endif // GLOBAL_VARS_SINGLE_TRAIT_H