After jackknife computations via revolver_jackknife, this function extracts a cluster-specific stability obtained as the median co-clustering probability of the patients in the cluster.

Jackknife_cluster_stability(x)

Arguments

x

A REVOLVER cohort with fits, clusters and jackknife results.

Value

A named vector.

Examples

# Data released in the 'evoverse.datasets'
data('TRACERx_NEJM_2017_REVOLVER', package = 'evoverse.datasets')

Jackknife_cluster_stability(TRACERx_NEJM_2017_REVOLVER)
#>    C2    C1    C3    C4    C7    C5    C6   C11    C8   C10    C9 
#> 0.700 0.750 0.750 0.850 0.600 0.700 0.550 0.425 0.550 0.375 0.600