performKmeans: K-means clusterisation.

View source: R/performKmeans.R

performKmeansR Documentation

K-means clusterisation.

Description

performKmeans returns a vector of corresponding clusters for each gene from a given ExpressionSet.

Usage

performKmeans(es, k, replacena = "mean")

Arguments

es

ExpressionSet object.

k

Expected number of clusters.

replacena

Method for replacing NA values in series matrix (mean by default)

Value

Vector of corresponding clusters, serialized to JSON.

Examples

## Not run: 
data(es)
performKmeans(es, k = 2)

## End(Not run)

baba-beda/morpheusR documentation built on Oct. 10, 2024, 1:35 a.m.