Error using clustergram function
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mari
el 21 de Abr. de 2017
Respondida: Melissa Lemke
el 10 de Nov. de 2017
Hi
I get the following error when using the clustergram function: Error using clustergram>computeDendrogram (line 1274) Encountered error while computing hierarchical clusters: Too many input arguments.
However, I make use of the default setting and therefore only send my data through to the function.
I think it may be the software version (R2016b) I'm using as I do not get this error when running my code on "older" software?
Please help
Thank you Mari
1 comentario
Melissa Lemke
el 10 de Nov. de 2017
I am getting the same error, even when using the clustergram example provided by MATLAB:
edit clustergramdemo
I am using MATLAB R2017b (same issues with 2017a as well), and have not had issues with clustergram before. I have checked which for another function called clustergram and as far as I can tell, it is calling the correct function.
which -all clustergram
C:\Program Files\MATLAB\R2017a\toolbox\bioinfo\microarray\@clustergram\clustergram.m % clustergram constructor
Full error message:
Error using clustergram>computeDendrogram (line 1274)
Encountered error while computing hierarchical clusters:
Too many input arguments.
Error in clustergram/computeClusters (line 904)
[Z1, H1, ~, perm1] = computeDendrogram(data,...
Error in clustergram (line 408)
computeClusters(obj);
Respuesta aceptada
Melissa Lemke
el 10 de Nov. de 2017
Solved: I reset the path to the default (home tab>set path>default>save>restart matlab). You will need to make note of any manual changes you have made to the saved path to make them again (i.e. third party toolboxes will have to be reinstalled).
I could not identify the specific folder that was causing the issue for me. If you have made manual changes to the saved path, you may want to make these one by one, restarting matlab and testing the clustergram function with each.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Import and Management en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!