performKmeans: K-means clusterisation.

Description Usage Arguments Value Examples

View source: R/performKmeans.R

Description

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

Usage

1
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

1
2
3
4
5
## Not run: 
data(es)
performKmeans(es, k = 2)

## End(Not run)

phantasus documentation built on Nov. 8, 2020, 6:39 p.m.