https://github.com/ctlab/phantasus
Revision 68f9979382b3816a3654a1b672343caecd35f005 authored by Alexey Sergushichev on 02 February 2019, 11:59:48 UTC, committed by Alexey Sergushichev on 02 February 2019, 11:59:48 UTC
1 parent 54ebb9d
Raw File
Tip revision: 68f9979382b3816a3654a1b672343caecd35f005 authored by Alexey Sergushichev on 02 February 2019, 11:59:48 UTC
ref -> tag
Tip revision: 68f9979
performKmeans.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/performKmeans.R
\name{performKmeans}
\alias{performKmeans}
\title{K-means clusterisation.}
\usage{
performKmeans(es, k, replacena = "mean")
}
\arguments{
\item{es}{ExpressionSet object.}

\item{k}{Expected number of clusters.}

\item{replacena}{Method for replacing NA values
in series matrix (mean by default)}
}
\value{
Vector of corresponding clusters, serialized to JSON.
}
\description{
\code{performKmeans} returns a vector of corresponding clusters for
    each gene from a given ExpressionSet.
}
\examples{
\dontrun{
data(es)
performKmeans(es, k = 2)
}
}
back to top