ʻOhana
Population structure, admixture history, and selection using learning methods.
Public Types | Static Public Member Functions
jade::basic_ped2dgm< TValue > Class Template Reference

A template for a class that converts PED-formatted data to discrete genotype matrices. More...

#include <jade.ped2dgm.hpp>

+ Collaboration diagram for jade::basic_ped2dgm< TValue >:

Public Types

typedef TValue value_type
 The value type. More...
 
typedef jade::basic_ped_reader< value_typereader_type
 The PED reader type. More...
 

Static Public Member Functions

static void execute (std::istream &in, std::ostream &out)
 Executes the program through the specified streams. More...
 

Detailed Description

template<typename TValue>
class jade::basic_ped2dgm< TValue >

A template for a class that converts PED-formatted data to discrete genotype matrices.

Definition at line 19 of file jade.ped2dgm.hpp.

Member Typedef Documentation

◆ reader_type

template<typename TValue >
typedef jade::basic_ped_reader<value_type> jade::basic_ped2dgm< TValue >::reader_type

The PED reader type.

Definition at line 26 of file jade.ped2dgm.hpp.

◆ value_type

template<typename TValue >
typedef TValue jade::basic_ped2dgm< TValue >::value_type

The value type.

Definition at line 23 of file jade.ped2dgm.hpp.

Member Function Documentation

◆ execute()

template<typename TValue >
static void jade::basic_ped2dgm< TValue >::execute ( std::istream &  in,
std::ostream &  out 
)
inlinestatic

Executes the program through the specified streams.

Parameters
inThe input stream.
outThe output stream.

Definition at line 31 of file jade.ped2dgm.hpp.

34  {
35  reader_type reader (in);
36  reader.write(out);
37  }
+ Here is the call graph for this function:

The documentation for this class was generated from the following file:
jade::basic_ped2dgm::reader_type
jade::basic_ped_reader< value_type > reader_type
The PED reader type.
Definition: jade.ped2dgm.hpp:26