Initialize_KWSP: Select k well spread points from X

View source: R/2_buildSOM.R

Initialize_KWSPR Documentation

Select k well spread points from X

Description

Select k well spread points from X

Usage

Initialize_KWSP(X, xdim, ydim)

Arguments

X

matrix in which each row represents a point

xdim

x dimension of the grid

ydim

y dimension of the grid

Value

array containing the selected selected rows

Examples


points <- matrix(1:1000, ncol = 10)
selection <- Initialize_KWSP(points, 3, 3)


SofieVG/FlowSOM documentation built on Feb. 1, 2024, 11:33 a.m.