immunr_hclust - list with two elements. The first element is an output from hcut.
The second element is an output from fviz_nbclust
immunr_kmeans - list with three elements. The first element is an output from kmeans.
The second element is an output from fviz_nbclust.
The third element is the input dataset .data.
immunr_dbscan - list with two elements. The first element is an output from dbscan.
The second element is the input dataset .data.
Arguments
.data
Matrix or data frame with features, distance matrix or output from repOverlapAnalysis or geneUsageAnalysis functions.
.k
The number of clusters to create, defined as k to hcut or as centers to kmeans.
.k.max
Limits the maximum number of clusters. It is passed as k.max to fviz_nbclust for immunr_hclust and immunr_kmeans.
.method
Passed to hcut or as fviz_nbclust.
In case of hcut the agglomeration method is going to be used (argument hc_method).
In case of fviz_nbclust it is the method to be used for estimating the optimal number of clusters (argument method).
.dist
If TRUE then ".data" is expected to be a distance matrix. If FALSE then the euclidean distance is computed for the input objects.
.eps
Local radius for expanding clusters, minimal distance between points to expand clusters. Passed as eps to dbscan.