autoplot.biclustermd_sse: Plot sums of squared errors (SSEs) consecutive biclustering...

Description Usage Arguments Value Examples

View source: R/autoplot.biclustermd_sse.R

Description

Creates a ggplot of the decrease in SSE recorded in biclustermd::bicluster().

Usage

1
2
## S3 method for class 'biclustermd_sse'
autoplot(object, ...)

Arguments

object

Object of class "biclustermd_sse" with columns "Iteration" and "SSE"

...

Arguments to pass to ggplot2::geom_point()

Value

A ggplot object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data("synthetic")

bc <- biclustermd(synthetic, col_clusters = 3, row_clusters = 2,
                miss_val = mean(synthetic, na.rm = TRUE),
                miss_val_sd = sd(synthetic, na.rm = TRUE),
                col_min_num = 2, row_min_num = 2,
                col_num_to_move = 1, row_num_to_move = 1,
                max.iter = 10)
bc
autoplot(bc$SSE)

biclustermd documentation built on June 17, 2021, 5:11 p.m.