|
MuGen
Multitrait genetics
|
Implementation of C++ classes for Hierarchical Bayesian Multi-trait quantitative-genetic models. More...
#include <gsl/gsl_errno.h>#include <gsl/gsl_matrix.h>#include <gsl/gsl_vector.h>#include <gsl/gsl_permutation.h>#include <gsl/gsl_sort_vector.h>#include <gsl/gsl_rng.h>#include <gsl/gsl_randist.h>#include <gsl/gsl_cdf.h>#include <gsl/gsl_blas.h>#include <gsl/gsl_linalg.h>#include <gsl/gsl_statistics.h>#include <gsl/gsl_math.h>#include <gsl/gsl_machine.h>#include <cmath>#include <algorithm>#include <vector>#include <list>#include <iostream>#include <fstream>#include <omp.h>#include <MuGen.h>Functions | |
| void | MVgauss (const gsl_vector *mn, const gsl_matrix *SigChl, const gsl_rng *r, gsl_vector *samp) |
| Multivariate Gaussian sampling function. More... | |
| void | Wishart (const gsl_matrix *SigC, const int &df, const gsl_rng *r, gsl_matrix *SigIout) |
| void | Wishart (const gsl_matrix *SigC, const size_t &df, const gsl_rng *r, gsl_matrix *SigIout) |
| size_t | rtgeom (const double &p, const size_t &limit, const gsl_rng *r) |
| Truncated geometric distribution. More... | |
| double | mhl (const gsl_vector *beta, const gsl_matrix *SigI) |
| Mahalanobis distance. More... | |
| void | colCenter (gsl_matrix *inplace) |
| Matrix centering in-place. More... | |
| void | colCenter (const gsl_matrix *source, gsl_matrix *res) |
| Matrix centering with copy. More... | |
| void | colCenter (gsl_matrix *inplace, const double &absLab) |
| Matrix centering in-place with missing values. More... | |
| void | colCenter (const gsl_matrix *source, gsl_matrix *res, const double &absLab) |
| Matrix centering with copy and missing values. More... | |
| void | vecCenter (gsl_vector *inplace) |
| Vector centering in-place. More... | |
| void | vecCenter (const gsl_vector *source, gsl_vector *res) |
| Vector centering with copy. More... | |
| void | meanImpute (gsl_matrix *inplace, const double &absLab) |
| Mean imputation without centering. More... | |
| void | printMat (const gsl_matrix *m) |
| Print matrix to screen. More... | |
| unsigned long long | rdtsc () |
| Accessing the processor RTDSC instruction. More... | |
| MuGrp | operator+ (const Grp &m1, const Grp &m2) |
| Addition operator. More... | |
| MuGrp | operator+ (const MuGrp &m1, const Grp &m2) |
| Addition operator. More... | |
| MuGrp | operator+ (const Grp &m1, const MuGrp &m2) |
| Addition operator. More... | |
| MuGrp | operator- (const Grp &m1, const Grp &m2) |
| Subtraction operator. More... | |
| MuGrp | operator- (const MuGrp &m1, const Grp &m2) |
| Subtraction operator. More... | |
| MuGrp | operator- (const Grp &m1, const MuGrp &m2) |
| Subtraction operator. More... | |
Implementation of C++ classes for Hierarchical Bayesian Multi-trait quantitative-genetic models.
This file contains the implementation of the methods documented in the MuGen.h file.