Error using clustergram function

1 回表示 (過去 30 日間)
Mari
Mari 2017 年 4 月 21 日
回答済み: Melissa Lemke 2017 年 11 月 10 日
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 件のコメント
Melissa Lemke
Melissa Lemke 2017 年 11 月 10 日
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);

サインインしてコメントする。

採用された回答

Melissa Lemke
Melissa Lemke 2017 年 11 月 10 日
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 件)

カテゴリ

Help Center および File ExchangeData Import and Management についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by