r what is the som function r creates distance matrix how to do self organizing maps in r r is the self organizing matrix how to create a self organizing matrix on an array of distances in the array of matrixes? how does som measure distance how to do a self organizing map with multiple distance matrix in r what is som in r what is the object of the som function what is the purpose of a som function in r why do you need som functions in r what is the som function and r how to use som function in r how to do a self organizing matrix in r what is the som function how to do a self-organized mapping in r what is the som function in r what is som function how to create self organizing maps in r which function is used to create heatmap for multiple distance matrix?