View source: R/ds.clusterPlot.R
ds.clusterPlot | R Documentation |
This function produces a plot for hclust clustering data
ds.clusterPlot(
tree = NULL,
k = NULL,
h = NULL,
k_colors = NULL,
palette = NULL,
show_labels = TRUE,
color_labels_by_k = FALSE,
datasources = NULL
)
tree |
is a string character of the data set |
k |
specifies the number of clusters in which the tree should be cut |
h |
specifies the height of a tree at which the tree should be cut |
k_colors |
is a vector containing colors to be used for groups |
palette |
a vector containing colors to be used for groups |
show_labels |
will always be set to false on the server-side for disclosure reasons |
color_labels_by_k |
is a logical value which colors the branches by group when k is not NULL |
datasources |
DSCOnnections |
The function calls the server-side function kmeansDS
that computes the
k-means clustering of a data set (type 'data.frame' or 'matrix').
The function creates a new object on the server-side, which is of class 'kmeans'.
The new object is named by the user using the newobj
argument, otherwise it is named kmeans.newobj
by default.
The function computes the dendrogram without any labels to prevent any disclosures.
The new object is named by the user using the newobj
argument, otherwise it is named kmeans.newobj
by default.
the object specified by the newobj
argument of ds.kmeans
or default name kmeans.newobj
Florian Schwarz for the German Institute of Human Nutrition
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.