plot.supc: Draw plots of the clustering result

View source: R/supc1.R

plot.supcR Documentation

Draw plots of the clustering result

Description

General function to draw plots for analysis

Usage

## 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


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)



wush978/supc documentation built on Sept. 27, 2024, 8:46 a.m.