R/plot_cluster_voting_omada.R

Defines functions plot_cluster_voting.clusterAnalysis plot_cluster_voting

Documented in plot_cluster_voting

#' Plot k vote frequencies
#'
#' @param object An object of class "clusterAnalysis"
#' @return Plot k vote frequencies
#' @export
#'
#' @examples
#' oa.object <- omada(toy_genes, method.upper.k = 3)
#' plot_cluster_voting(oa.object)
plot_cluster_voting <- function(object) {
    UseMethod("plot_cluster_voting")
}
#' @export
plot_cluster_voting.clusterAnalysis <- function(object) {
    object$cluster.voting.plot
}
BioSok/omada documentation built on Aug. 21, 2023, 2:38 p.m.