bpp-phyl-omics  2.2.0
bpp::CountClustersMafStatistics Class Reference

Count the number of sequence cluster, given a certain threshold. This requires that a phylogenetic tree was previously computed. More...

#include <Bpp/Seq/Io/Maf/CountClustersMafStatistics.h>

+ Inheritance diagram for bpp::CountClustersMafStatistics:
+ Collaboration diagram for bpp::CountClustersMafStatistics:

Public Member Functions

 CountClustersMafStatistics (const std::string &property, double threshold)
 
void setTreeProperty (const std::string &property)
 
const std::string & getTreeProperty () const
 
std::string getShortName () const
 
std::string getFullName () const
 
void compute (const MafBlock &block)
 
std::string getPropertyName () const
 

Private Member Functions

unsigned int getNumberOfClusters_ (const Node *node, std::map< const Node *, double > &heights)
 

Private Attributes

std::string treeProperty_
 
double threshold_
 

Detailed Description

Count the number of sequence cluster, given a certain threshold. This requires that a phylogenetic tree was previously computed.

Definition at line 57 of file CountClustersMafStatistics.h.

Constructor & Destructor Documentation

◆ CountClustersMafStatistics()

bpp::CountClustersMafStatistics::CountClustersMafStatistics ( const std::string &  property,
double  threshold 
)
inline

Definition at line 65 of file CountClustersMafStatistics.h.

Member Function Documentation

◆ compute()

void CountClustersMafStatistics::compute ( const MafBlock &  block)

Definition at line 65 of file CountClustersMafStatistics.cpp.

◆ getFullName()

std::string bpp::CountClustersMafStatistics::getFullName ( ) const
inline

Definition at line 75 of file CountClustersMafStatistics.h.

References threshold_.

◆ getNumberOfClusters_()

unsigned int CountClustersMafStatistics::getNumberOfClusters_ ( const Node *  node,
std::map< const Node *, double > &  heights 
)
private

Definition at line 51 of file CountClustersMafStatistics.cpp.

◆ getPropertyName()

std::string bpp::CountClustersMafStatistics::getPropertyName ( ) const
inline

Definition at line 78 of file CountClustersMafStatistics.h.

◆ getShortName()

std::string bpp::CountClustersMafStatistics::getShortName ( ) const
inline

Definition at line 74 of file CountClustersMafStatistics.h.

References threshold_.

◆ getTreeProperty()

const std::string& bpp::CountClustersMafStatistics::getTreeProperty ( ) const
inline

Definition at line 72 of file CountClustersMafStatistics.h.

References treeProperty_.

◆ setTreeProperty()

void bpp::CountClustersMafStatistics::setTreeProperty ( const std::string &  property)
inline

Definition at line 71 of file CountClustersMafStatistics.h.

References treeProperty_.

Member Data Documentation

◆ threshold_

double bpp::CountClustersMafStatistics::threshold_
private

Definition at line 62 of file CountClustersMafStatistics.h.

Referenced by getFullName(), and getShortName().

◆ treeProperty_

std::string bpp::CountClustersMafStatistics::treeProperty_
private

Definition at line 61 of file CountClustersMafStatistics.h.

Referenced by getTreeProperty(), and setTreeProperty().


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