getKmeans: K-means clustering of data points

Description Usage Arguments Value Author(s) Examples

View source: R/getKmeans.R

Description

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

Usage

1
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.

Author(s)

Bo Li

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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)

CHAT documentation built on May 29, 2017, 10:32 p.m.