R/SIMLR_Estimate_Number_of_Clusters.R
SIMLR_Estimate_Number_of_Clusters.Rd
estimate the number of clusters by means of two huristics as discussed in the SIMLR paper
SIMLR_Estimate_Number_of_Clusters(X, NUMC = 2:5, cores.ratio = 1)
a list of 2 elements: K1 and K2 with an estimation of the best clusters (the lower values the better) as discussed in the original paper of SIMLR
data(BuettnerFlorian)
SIMLR_Estimate_Number_of_Clusters(BuettnerFlorian$in_X,
NUMC = 2:5,
cores.ratio = 0)
#> $K1
#> [1] -63.04223 -19.49278 -23.77182 13.30109
#>
#> $K2
#> [1] -94.56335 -25.99037 -29.71477 15.96130
#>