Question: [bug report] som documentation contains incorrect formula
gravatar for balwierz
3.6 years ago by
United Kingdom
balwierz40 wrote:

?som includes a description of class 'som'.

component code 
a metrix with nrow = xdim*ydim, each row corresponding to a code vector of a cell in the map. The mapping from cell coordinate (x, y) to the row index in the code matrix is: rownumber = x + y * xdim

should say

rownumber = x + y * xdim + 1

because R unfortunately indexes arrays from 1, not from 0.

(and there is a spelling mistake in 'matrix' too)

bug som • 472 views
ADD COMMENTlink written 3.6 years ago by balwierz40

som is not a part of Bioconductor. You should write to the maintainer who is shown on CRAN to ask your question.

ADD REPLYlink written 3.6 years ago by Dario Strbenac1.5k
Please log in to add an answer.


Powered by Biostar version 16.09
Traffic: 131 users visited in the last hour