Usage
clusterSamplesByComp(icaSet, params, funClus = c("Mclust", "kmeans", "pam", "pamk", "hclust", "agnes"), filename, clusterOn = c("A", "S"), level = c("genes", "features"), nbClus, metric = "euclidean", method = "ward", ...)
Arguments
params
A MineICAParams object
funClus
The function to be used for clustering,
must be one of
c("Mclust","kmeans","pam","pamk","hclust","agnes")
filename
A file name to write the results of the
clustering in
clusterOn
Specifies the matrix used to apply
clustering:
"A":- the clustering
is performed in one dimension, on the vector of sample
contributions,
- "S":
- the clustering is performed
on the original data restricted to the contributing
individuals.
level
The level of projections to be used when
clusterOn="S", either "features" or
"genes".
nbClus
The number of clusters to be computed,
either a single number or a numeric vector whose length
equals the number of components. If missing (only allowed
if funClus is one of c("Mclust","pamk"))
metric
Metric used in pam and
hclust, default is "euclidean"
method
Method of hierarchical clustering, used in
hclust and agnes
...
Additional parameters required by the
clustering function funClus.res <-
clusterSamplesByComp(icaSet=icaSetCarbayo, params=params,
funClus="kmeans",