R/plot_vote_frequencies.R

Defines functions plot_vote_frequencies.clusterVoting plot_vote_frequencies

Documented in plot_vote_frequencies

#' Plot k vote frequencies
#'
#' @param object An object of class "clusterVoting"
#' @return Plot k vote frequencies
#' @export
#'
#' @examples
#' cv.object <- clusterVoting(toy_genes, 4,6,"sc")
#' plot_vote_frequencies(cv.object)
plot_vote_frequencies <- function(object) {
    UseMethod("plot_vote_frequencies")
}
#' @export
plot_vote_frequencies.clusterVoting <- function(object) {
    object$vote.frequencies.plot
}
BioSok/omada documentation built on Aug. 21, 2023, 2:38 p.m.