Calculate the k-medoids clustering for a given time course.
reconstruct_kmedoid(
readouts,
target_communities,
sim = MultIS::get_similarity_matrix(readouts = readouts, self = 0, upper = TRUE)
)
The time course for which to find clusters.
The number of clusters to cluster for.
A similarity matrix for the time course.
A matrix with two columns: "Clone" and "IS".