probabilities.h 1.37 KB
Newer Older
Damien Leroux's avatar
Damien Leroux committed
1
2
3
4
5
6
7
8
9
10
11
#ifndef _SPEL_COMPUTATIONS_PROBABILITIES_H_
#define _SPEL_COMPUTATIONS_PROBABILITIES_H_

#ifndef _SPEL_COMPUTATIONS_BASE_H_
#include "base.h"
#endif

#ifndef _SPEL_COMPUTATIONS_BASIC_DATA_H_
#include "basic_data.h"
#endif

12
13
14
15
16
/*locus_probabilities_type*/
/*locus_probabilities(qtl_chromosome_value, population_value,*/
                    /*const multi_generation_observations&,*/
                    /*const selected_qtls_on_chromosome_type&);*/

Damien Leroux's avatar
Damien Leroux committed
17
18
MatrixXd permutation_matrix(size_t n_parents, size_t n_loci, size_t order);

Damien Leroux's avatar
Damien Leroux committed
19
locus_probabilities_type
20
locus_probabilities(const context_key&, const locus_key&,
Damien Leroux's avatar
Damien Leroux committed
21
22
                    const multi_generation_observations&,
                    const std::vector<double>&);
Damien Leroux's avatar
Damien Leroux committed
23
24

state_to_parental_origin_matrix_type
25
state_to_parental_origin_matrix(generation_value, int);
Damien Leroux's avatar
Damien Leroux committed
26
27
28
29

parental_origin_type
parental_origin(const locus_probabilities_type&, generation_value, const selected_qtls_on_chromosome_type&);

30
parental_origin_per_locus_type
Damien Leroux's avatar
Damien Leroux committed
31
joint_parental_origin_at_locus(const context_key& ck, const locus_key& lk);
32

Damien Leroux's avatar
Damien Leroux committed
33
34
35
collection<parental_origin_per_locus_type>
parental_origin_per_locus(const collection<parental_origin_type>&);

36
/*
Damien Leroux's avatar
Damien Leroux committed
37
38
collection<parental_origin_per_locus_type>
compute_parental_origins(const value<population_value>& pop,
39
40
                         const value<chromosome_value>& chr,
                         const value<std::vector<double>>& loci);
41
*/
Damien Leroux's avatar
Damien Leroux committed
42
43
44

#endif