plot.ckm: The function plots the results of CKM: the cluster centroids...

View source: R/PlotCKM.R

plot.ckmR Documentation

The function plots the results of CKM: the cluster centroids of all signaling variables

Description

The function plots the results of CKM: the cluster centroids of all signaling variables

Usage

## S3 method for class 'ckm'
plot(ckm.object, var.ind = NULL)

Arguments

ckm.object

an object of the S3 class "ckm", which could eitehr be the output of the function CKMSelVar (without the selection of number of clusters) or of the function CKMselAll (with the selection of nunber of clusters)

var.ind

a vector of length J (i.e. the number of variables) that indicates the categories of variables

Value

a plot with x axis representing various clusters and y axis referring to the centroids of signaling variables

Examples

ckm.sel.no <- CKMSelNo(dataset, ncluster, nnoisevar)
ckm.sel.var <- CKMSelVar(dataset, ncluster)
ckm.sel.all <- CKMSelAll(dataset, maxcluster)
plot(ckm.sel.no)
plot(ckm.sel.var)
plot(ckm.sel.all)



syuanuvt/CKM documentation built on Dec. 1, 2022, 9:06 p.m.