performKmeans {phantasus} | R Documentation |
performKmeans
returns a vector of corresponding clusters for
each gene from a given ExpressionSet.
performKmeans(es, columns = c(), rows = c(), k, replacena = "mean")
es |
ExpressionSet object. |
columns |
List of specified columns' indices (optional), indices start from 0 |
rows |
List of specified rows' indices (optional), indices start from 0 |
k |
Expected number of clusters. |
replacena |
Method for replacing NA values in series matrix (mean by default) |
Vector of corresponding clusters, serialized to JSON.
## Not run: data(es) performKmeans(es, k = 2) ## End(Not run)