R/plot_feature_selection_omada.R

Defines functions plot_feature_selection.clusterAnalysis plot_feature_selection

Documented in plot_feature_selection

#' Plot the average bootstrap stabilities
#'
#' @param object An object of class "clusterAnalysis"
#' @return Line plot of average bootstrap stabilities
#' @export
#'
#' @examples
#' oa.object <- omada(toy_genes, method.upper.k = 4)
#' plot_feature_selection(oa.object)
plot_feature_selection <- function(object) {
    UseMethod("plot_feature_selection")
}
#' @export
plot_feature_selection.clusterAnalysis <- function(object) {
    object$feature.selection.plot
}
BioSok/omada documentation built on Aug. 21, 2023, 2:38 p.m.