plot.clust: Plots clustering result

Description Usage Arguments Details Author(s) Examples

View source: R/cnvlmm_plot.R

Description

Makes formatted plots from the clustering result returned from ClusProc.

Usage

1
2
3
  ## S3 method for class 'clust'
 plot(x,
    type = c("histo", "scat", "sil"), adjust = TRUE, ...)

Arguments

x

The clustering results obtained from ClusProc.

type

Factor. For specifying the plot type. It must be one of 'histo', 'scat' and 'sil'. If it is 'histo', the histogram is obtained with the first PC score of the intensity measurement. For 'scat', the first PC score of the intensity measurement is plotted against the mean of the intensity measurement. For 'sil', the silhouette score is plotted. See details.

adjust

Logicals. If TRUE (default), the silhouette-adjusted clustering result will be used. If FALSE, the initial clustering result will be used. See details in ClusProc.

...

Usual arguments passed to the qplot function.

Details

Author(s)

Meiling Liu

Examples

1
2
3
# Fit the data under the given clustering numbers
clus.fit <- ClusProc(signal=signal,N=2:6,varSelection='PC.9')
plot(clus.fit,type='histo')

PedCNV documentation built on May 2, 2019, 8:17 a.m.