Description Usage Arguments Value
Identify clusters
1 2 3 4 5 6 7 8 9 10 11 12 | get_cluster(
df,
yvar,
transformation = NULL,
y_trans = identity_trans(),
dc = 3,
alpha = 0.001,
k = 100,
k_meta = 8,
scale = FALSE,
method = "FlowSOM"
)
|
df |
a data.frame with only numeric variables. |
yvar |
names of df's variables used to find clusters |
transformation |
Named list of |
y_trans |
default |
dc |
ClusterX dc parameter |
alpha |
ClusterX alpha parameter |
k |
integer; number of nearest neighbours (passed to |
k_meta |
Maximum number of clusters to try out
(passed to |
scale |
logical; Scale values before building SOM (for method 'FlowSOM' only) |
method |
Name of the method used. Either "FlowSOM", "ClusterX", "Rphenograph". |
a data.frame with the additionnal column "cluster"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.