libsequence  1.9.5

The base class for polymorphism tables. More...

#include <Sequence/PolyTable.hpp>

Inheritance diagram for Sequence::PolyTable:
Sequence::PolySites

Detailed Description

The base class for polymorphism tables.

This is a pure virtual base class for dealing with polymorphism data. It has no real utility in and of itself, other than defining the interface to derived classes. The class publicly inherits from std::pair< std::vector<double>, std::vector<std::string> >, representing positions and variable site data, respectively.

Note
Segregating site positions are stored as double rather than int. This is because they can be represented as int (for example, in the case of Sequence::PolySites). However, it is also reasonable that positions be described as falling along a continuous interval (as in the case of Sequence::SimData or Sequence::MS_Interface).

This class is case-insensitive. That is, your data can include the characters {A,a,G,g,C,c,T,t,N,n,-,0,1}, and still work with this library.


The documentation for this class was generated from the following file: