73 std::vector<float> averageSilhouetteWidth(
const std::vector<BinaryTreeNode> & tree,
const DistanceMatrix<float> & original);
83 std::vector<float> dunnIndices(
const std::vector<BinaryTreeNode> & tree,
const DistanceMatrix<float> & original,
const bool tree_from_singlelinkage =
false);
92 std::vector<float> cohesion(
const std::vector<std::vector<Size> > & clusters,
const DistanceMatrix<float> & original);
103 float averagePopulationAberration(
Size cluster_quantity, std::vector<BinaryTreeNode> & tree);
120 void cut(
const Size cluster_quantity,
const std::vector<BinaryTreeNode> & tree, std::vector<std::vector<Size> > & clusters);
133 void cut(
const Size cluster_quantity,
const std::vector<BinaryTreeNode> & tree, std::vector<std::vector<BinaryTreeNode> > & subtrees);
143 String newickTree(
const std::vector<BinaryTreeNode> & tree,
const bool include_distance =
false);
A more convenient string class.
Definition: String.h:57
Bundles analyzing tools for a clustering (given as sequence of BinaryTreeNode's)
Definition: ClusterAnalyzer.h:51
A two-dimensional distance matrix, similar to OpenMS::Matrix.
Definition: DistanceMatrix.h:67
bool compareBinaryTreeNode(const BinaryTreeNode &x, const BinaryTreeNode &y)
returns the value of (x.distance < y.distance) for use with sort
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Elements of a binary tree used to represent a hierarchical clustering process.
Definition: BinaryTreeNode.h:48