Description Usage Arguments Value References See Also Examples
Build a self-organizing map
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
object |
a CYT object |
xdim |
Width of the grid. |
ydim |
Hight of the grid. |
rlen |
Number of times to loop over the training data for each MST |
mst |
Number of times to build an MST |
alpha |
Start and end learning rate |
radius |
Start and end radius |
init |
Initialize cluster centers in a non-random way |
distf |
Distance function (1=manhattan, 2=euclidean, 3=chebyshev, 4=cosine) |
codes |
Cluster centers to start with |
importance |
array with numeric values. Parameters will be scaled according to importance |
method |
the distance measure to be used. This must be one of "euclidean",
"maximum", "manhattan", "canberra", "binary" or "minkowski".
Any unambiguous substring can be given. See |
verbose |
logical. Whether to print calculation progress. |
... |
Parameters passing to |
a CYT object with som.id in CYT object
This code is strongly based on the SOM
function.
Which is developed by Sofie Van Gassen, Britt Callebaut and Yvan Saeys (2018).
1 2 3 4 | cyt.file <- system.file("extdata/cyt.rds", package = "CytoTree")
cyt <- readRDS(file = cyt.file)
cyt <- runSOM(cyt, xdim = 10, ydim = 10, verbose = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.