plot.supc: Draw plots of the clustering result

Description Usage Arguments Value Examples

View source: R/supc1.R

Description

General function to draw plots for analysis

Usage

1
2
## S3 method for class 'supc'
plot(x, type = "heatmap", ...)

Arguments

x

supc object to plot.

type

character value.

  • "heatmap"draw a heatmap to show the result of clustering. The clusters whose size is greater than parameter major.size are treated as major clusters.

...

other parameters to be passed through.

Value

NULL. The function is called for side effects.

Examples

1
2
3
4
data(golub, package = "supc")
golub.supc <- supc1(golub, rp = 0.0005, t = "dynamic", implementation = "R")
table(golub.supc$size)
plot(golub.supc, type = "heatmap", major.size = 10)

supc documentation built on Dec. 11, 2021, 5:07 p.m.