Learn R Programming

CHAT (version 1.1)

getKmeans: K-means clustering of data points

Description

Performs canonical K-means clustering of data points on BAF-LRR plot. (Internal use)

Usage

getKmeans(sam.dat, iter.max = 10, para)

Arguments

sam.dat
numeric matrix, segmentation file returned by getSegChr() or getSeg()
iter.max
integer, maximum number of iteration to be performed before convergence
para
a list of parameters returned by getPara()

Value

a kmeans object for internal use.

Examples

Run this code
para=getPara()
## Not run: 
# data(A0SD.BAF)
# data(A0SD.LRR)
# chr8.baf=A0SD.BAF[A0SD.BAF[,2]==8,]
# chr8.lrr=A0SD.LRR[A0SD.LRR[,2]==8,]
# x=getSegChr(chr8.baf,chr8.lrr)
# getKmeans(x,para=para)
# ## End(Not run)

Run the code above in your browser using DataLab