https://github.com/ctlab/phantasus
Raw File
Tip revision: 3060d2b3ea45059741f3612cf8273a125315b3ac authored by Nitesh Turaga on 27 October 2020, 15:33:27 UTC
bump x.y.z version to odd y following creation of RELEASE_3_12 branch
Tip revision: 3060d2b
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