24 #ifndef __POLYTABLE_FUNCTIONS_HPP__ 25 #define __POLYTABLE_FUNCTIONS_HPP__ 57 template<
typename T> T copyPolyTable(
const T & t)
59 return T(std::vector<double>(t.pbegin(),t.pend()),
60 std::vector<std::string>(t.begin(),t.end()));
63 template<
typename T,
typename F> T removeColumns(
const T & t,
const F & f,
const bool skipAnc =
false,
const unsigned anc = 0,
const char gapchar =
'-' )
__attribute__ ((deprecated));
64 template<typename T> T removeGaps( const T & t, const
bool skipAnc = false, const
unsigned anc = 0,const
char gapchar = '-' )
__attribute__ ((deprecated));
65 template<typename T> T removeInvariantPos(const T & t, const
bool skipAnc = false, const
unsigned anc = 0,
67 template<typename T> T removeAmbiguous(const T & t, const
bool skipAnc = false, const
unsigned anc = 0,
69 template<typename T> T removeMissing(const T & t, const
bool skipAnc = false, const
unsigned anc = 0,
71 template<typename T> T removeMultiHits(const T & t, const
bool skipAnc = false, const
unsigned anc = 0,
73 template<typename T> T polyTableToBinary(const T & t, const
unsigned ref = 0, const
char gapchar = '-')
__attribute__ ((deprecated));
74 template<typename T> T polyTableFreqFilter(const T & t, const
unsigned mincount,const
bool skipAnc = false, const
unsigned anc = 0 , const
char gapchar = '-')
__attribute__ ((deprecated));
76 #include <Sequence/bits/PolyTableFunctions.tcc> bool polyTableValid(const PolyTable *t) __attribute__((deprecated))
Sequence::PolyTable, a virtual base class for polymorphism tables.
The namespace in which this library resides.
bool containsCharacter(const PolyTable *t, const char ch) __attribute__((deprecated))
class __attribute__((deprecated)) FST
Functor to count the number of states, excluding gaps and missing data, in a range of characters...