ilarinieminen / SOM-Toolbox

GNU General Public License v2.0
122 stars 56 forks source link

Select hits from SOM, "som_select" #16

Open Seco14 opened 8 years ago

Seco14 commented 8 years ago

I am trying to get a selection of hits from som map, for this object I use "som_select" function. However, I can't get GUI, i get the next answer:

I am trying to get a selection of hits from SOM map, for this object I use "som_select" function. However, I can't get GUI, I get the next answer:

som_select(150); ??? Error using ==> getfield at 31 Not enough input arguments. Error in ==> som_select>draw_colorselection at 354 for i=0:getfield(size(rep_y,2))-1, rep_x(:,i+1)=rep_x(:,i+1)+i; end Error in ==> som_select at 153 draw_colorselection(c_names,c_colors);

I have used SOM struct, initial dataset, size of SOM struct, size of initial datasets…but these aren’t successful input arguments…

Somebody know other way to select hits of my SOM, an example o turorial to practice?

thanks

twocs commented 8 years ago

Just to check, did you follow this procedure prior to using som_select?

From som_select: "For the function to work, the plot in the % axes must have been created with the % SOM_CPLANE function (or SOM_SHOW)"