ʻOhana
Population structure, admixture history, and selection using learning methods.
|
A template for a class that creates genotype matrices based on files and their file extensions. More...
#include <jade.genotype_matrix_factory.hpp>
Public Types | |
typedef TValue | value_type |
The value type. More... | |
typedef basic_genotype_matrix< value_type > | genotype_matrix_type |
The genotype matrix type. More... | |
typedef basic_discrete_genotype_matrix< value_type > | discrete_genotype_matrix_type |
The discrete genotype matrix type. More... | |
typedef basic_likelihood_genotype_matrix< value_type > | likelihood_genotype_matrix_type |
The likelihood genotype matrix type. More... | |
Static Public Member Functions | |
static genotype_matrix_type * | create (const std::string &path) |
Creates a genotype matrix based on values from a file. This function determines what kind of genotype matrix to create based on the file extension of the specified path. More... | |
static genotype_matrix_type * | create (char const *const path) |
Creates a genotype matrix based on values from a file. This function determines what kind of genotype matrix to create based on the file extension of the specified path. More... | |
A template for a class that creates genotype matrices based on files and their file extensions.
Definition at line 20 of file jade.genotype_matrix_factory.hpp.
typedef basic_discrete_genotype_matrix<value_type> jade::basic_genotype_matrix_factory< TValue >::discrete_genotype_matrix_type |
The discrete genotype matrix type.
Definition at line 32 of file jade.genotype_matrix_factory.hpp.
typedef basic_genotype_matrix<value_type> jade::basic_genotype_matrix_factory< TValue >::genotype_matrix_type |
The genotype matrix type.
Definition at line 28 of file jade.genotype_matrix_factory.hpp.
typedef basic_likelihood_genotype_matrix<value_type> jade::basic_genotype_matrix_factory< TValue >::likelihood_genotype_matrix_type |
The likelihood genotype matrix type.
Definition at line 36 of file jade.genotype_matrix_factory.hpp.
typedef TValue jade::basic_genotype_matrix_factory< TValue >::value_type |
The value type.
Definition at line 24 of file jade.genotype_matrix_factory.hpp.
|
inlinestatic |
Creates a genotype matrix based on values from a file. This function determines what kind of genotype matrix to create based on the file extension of the specified path.
An | exception if the path has no file extension or if the file cannot be parsed successfully. |
path | The path to the file. |
Definition at line 77 of file jade.genotype_matrix_factory.hpp.
|
inlinestatic |
Creates a genotype matrix based on values from a file. This function determines what kind of genotype matrix to create based on the file extension of the specified path.
An | exception if the path has no file extension or if the file cannot be parsed successfully. |
path | The path to the file. |
Definition at line 48 of file jade.genotype_matrix_factory.hpp.