Learn R Programming

ProjectionBasedClustering (version 1.0.5)

interactiveClustering: GUI for interactive cluster analysis

Description

This tool is an interactive shiny tool that visualizes a given generalized Umatrix and allows the user to select areas and mark them as clusters to improve a projection based clustering.

Arguments

Umatrix

[1:Lines,1:Columns] Matrix of Umatrix Heights

Bestmaches

[1:n,1:2]Array with positions of Bestmatches

Cls

[1:n]Classification of the Bestmatches

Imx

[1:4*Lines,1:4*Columns]Matrix of an island that will be cut out of the umatrix, use package Umatrix for generation.

Toroid

Are Bestmatches placed on a toroid grid? TRUE by default.

Value

Cls[1:n]: A vector containing the selected class ids. The order is corresponding to the given Bestmatches

Details

Clicking on "Quit" returns the Cls vector to the workspace.

References

[Thrun/Ultsch, 2017] Thrun, M.C., Ultsch, A.: Projection based Clustering, Conf. Int. Federation of Classification Societies (IFCS),DOI:10.13140/RG.2.2.13124.53124, Tokyo, 2017.

Examples

Run this code
# NOT RUN {
data('Hepta')
#2d projection
# Visualizuation of GeneralizedUmatrix
# }
# NOT RUN {
projectionpoints=NeRV(Hepta$Data)
#Computation of Generalized Umatrix
library(GeneralizedUmatrix)
visualization=GeneralizedUmatrix(Data = Hepta$Data,projectionpoints)



# Semi-Automatic Clustering done interactivly in a  shiny gui
Cls = interactiveClustering(visualization$Umatrix, visualization$Bestmatches)
#Plotting
plotTopographicMap(visualization$Umatrix,visualization$Bestmatches,Cls)
# }

Run the code above in your browser using DataLab