libsequence  1.9.5
PolyFunctional.hpp File Reference

A collection of function objects for SNP analysis. More...

#include <Sequence/stateCounter.hpp>
#include <Sequence/typedefs.hpp>
#include <vector>
#include <string>
#include <utility>

Go to the source code of this file.

Classes

struct  Sequence::countDerivedStates
 Functor to count the number of derived states, excluding gaps and missing data, in a range of characters. More...
 
class  Sequence::nmuts< counter >
 Calculate the number of mutations at a polymorphic site. More...
 

Namespaces

 Sequence
 The namespace in which this library resides.
 

Functions

class Sequence::__attribute__ ((deprecated)) countStates
 Functor to count the number of states, excluding gaps and missing data, in a range of characters. More...
 

Detailed Description

A collection of function objects for SNP analysis.

These objects may be useful for certain one-off calculations in lieu of Sequence::PolySNP. They are also useful guides for how to implement functors that can be used in conjunction with STL algorithms to do calculations on objects of type Sequence::PolyTable. This file declares Sequence::countStates, Sequence::countDerivedStates,Sequence::ssh, and Sequence::nmuts.

Definition in file PolyFunctional.hpp.