R/get_cluster_voting_metric_votes_omada.R

Defines functions get_cluster_voting_metric_votes.clusterAnalysis get_cluster_voting_metric_votes

Documented in get_cluster_voting_metric_votes

#' Get a dataframe with the k votes for every index
#'
#' @param object An object of class "clusterAnalysis"
#' @return Dataframe with the k votes for every index
#' @export
#'
#' @examples
#' oa.object <- omada(toy_genes, method.upper.k = 4)
#' get_cluster_voting_metric_votes(oa.object)
get_cluster_voting_metric_votes <- function(object) {
    UseMethod("get_cluster_voting_metric_votes")
}
#' @export
get_cluster_voting_metric_votes.clusterAnalysis <- function(object) {
    object$cluster.voting.metric.votes
}
BioSok/omada documentation built on Aug. 21, 2023, 2:38 p.m.