Cluster the prototypes from the Self Organizing Map Clustering is done using hierarchical clustering with the average linkage function
Examples
data("risom_dat")
risomMarkers <- c(
"CD45", "SMA", "CK7", "CK5", "VIM", "CD31", "PanKRT", "ECAD"
)
prototypes <- generatePrototypes(risom_dat[, risomMarkers])
#> Now Generating the Self Organizing Map Grid
#> Optimal Grid Size is: 5
#> Now Running the Self Organizing Map Model
clusters <- clusterPrototypes(prototypes, 23)
#> Now Clustering the Prototypes
#> Loading required namespace: fastcluster
#> Now Mapping Clusters to the Original Data
#> The Prototypes have been Clustered and Mapped Successfully