R:光谱双簇每次运行时都会产生不同的簇
我正在尝试在蛋白质浓度和生活方式特征产生的相关矩阵上运行光谱双簇(使用r上的biclust封装)。但是,当我运行代码时,每次调用该函数时,我都会获得不同的结果。
例如,一个运行群群,有255行与14列配对,第二次运行的群集一组,346行与28列配对。这应该发生还是我想错了? 如果我做错了什么,我该如何解决此问题。
SpectralBiclusters = spectral(transpose_res2,numberOfEigenvalues=6,minr=2, minc=2, withinVar=1, n_clusters = NULL, n_best = 3)
另外,供参考,transpose_res2是与蛋白作为行和特征作为列的相关矩阵。
I am trying to run spectral biclustering (using the biclust package on R) on a correlation matrix I generated from protein concentration and lifestyle traits. When I run the code, however, I get different results for each time I call the function.
For instance, one run had cluster one with 255 rows paired with 14 columns, and the second run had cluster one with 346 rows paired with 28 columns. Is this supposed to happen or am I dooing something wrong?
If I am doing something wrong, how can I fix this problem.
SpectralBiclusters = spectral(transpose_res2,numberOfEigenvalues=6,minr=2, minc=2, withinVar=1, n_clusters = NULL, n_best = 3)
Also for reference, transpose_res2 is the correlation matrix with the proteins as the rows and the traits as the columns.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论