Retrieve cluster assignments for a given value of k

get_cluster_assignments_for_k(k, cluster_obj)

Arguments

k

Number of clusters

cluster_obj

Clustering object returned from CCP clustering

Value

cluster_assignments.df A dataframe containing cluster assignments for each sample