Skip to main content

cluster_stability

Function cluster_stability 

Source
pub fn cluster_stability<T>(cluster_matrix: &MatRef<'_, i32>) -> Vec<(T, T)>
where T: BixverseFloat,
Expand description

Function that assesses the cluster stability.

§Params

  • cluster_matrix - A matrix with the columns representing the bootstraps, the rows the features and the values which cluster the feature belongs to.

§Returns

Returns tuple of (average Jaccard similarities, standard deviations of the Jaccard similarities).