#' Get cluster memberships for every k
#'
#' @param object An object of class "clusterVoting"
#' @return Cluster memberships for every k
#' @export
#'
#' @examples
#' cv.object <- clusterVoting(toy_genes, 4,6,"sc")
#' get_cluster_memberships_k(cv.object)
get_cluster_memberships_k <- function(object) {
UseMethod("get_cluster_memberships_k")
}
#' @export
get_cluster_memberships_k.clusterVoting <- function(object) {
object$cluster.memberships.k
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.