Learn R Programming

supc (version 0.2.6.2)

plot.supc: Draw plots of the clustering result

Description

General function to draw plots for analysis

Usage

# S3 method for 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

Run this code
# NOT RUN {
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)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab