performKmeans {phantasus} | R 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)

[Package phantasus version 1.14.0 Index]