plot.supc: Draw plots of the clustering result

Description Usage Arguments 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.

Examples

1
2
3
4
5
6
7
## Not run: 
data(golub, package = "supc")
golub.supc <- supc1(golub, rp = 0.0005, t = "dynamic")
table(golub.supc$size)
plot(golub.supc, type = "heatmap", major.size = 10)

## End(Not run)

wush978/supc documentation built on Oct. 12, 2021, 3:24 p.m.