40 #ifndef _COUNTCLUSTERSMAFSTATISTICS_H_ 41 #define _COUNTCLUSTERSMAFSTATISTICS_H_ 43 #include <Bpp/Seq/Io/Maf/MafStatistics.h> 46 #include <Bpp/Phyl/Node.h> 58 public AbstractMafStatisticsSimple
66 AbstractMafStatisticsSimple(
"NbClusters"),
75 std::string
getFullName()
const {
return "Number of sequence clusters with divergence <= " + TextTools::toString(
threshold_) +
"."; }
76 void compute(
const MafBlock& block);
86 #endif //_COUNTCLUSTERSMAFSTATISTICS_H_
CountClustersMafStatistics(const std::string &property, double threshold)
unsigned int getNumberOfClusters_(const Node *node, std::map< const Node *, double > &heights)
std::string getPropertyName() const
std::string getFullName() const
Count the number of sequence cluster, given a certain threshold. This requires that a phylogenetic tr...
std::string getShortName() const
void compute(const MafBlock &block)
void setTreeProperty(const std::string &property)
const std::string & getTreeProperty() const
std::string treeProperty_