[bug report] som documentation contains incorrect formula
0
0
Entering edit mode
balwierz ▴ 40
@balwierz-8583
Last seen 5.3 years ago
United Kingdom

?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)

som bug • 976 views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 576 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6