Open hkeremcil opened 1 year ago
This means that NMF output several factors with identical loadings for all locations/cell types, so plotting of those values using hierarchical clustering to order dimensions failed. Check if the options of the function allow you to switch cluster rows/cols off. Otherwise find factor number under which this step doesn’t fail.
Thank you very much for your response. I could not find such an option in the parameters, and I don't think editing the source code to change the function would be a good idea, at least for me.
Regarding the factor number, I tried everything between 1 to 40. It immediately gives an error for every factor number. I started to have this issue with several other slides as well when I used the pipeline on more data. Could there be anything else to try? Or did I misunderstand what you suggested?
I also meet the same problem, do you solve it?
@vitkl , I tried factor number between 5 to 30, but all the factor meet the same error, do you have any advise to solve this problem?
I am trying to run the code below:
And I get this error:
However, it works perfectly fine when I do this by choosing any of the other slides or without choosing slides. This slide is a part of adata_vis; therefore, I cannot understand why I do not encounter this error when running that code directly with adata_vis without choosing a slide. I checked that slide using this:
are_all_finite = np.all(np.isfinite(slide.X.data))
And all values seem to be finite. I find this issue very strange. I am currently stuck with this, and I highly appreciate any help.
Many thanks in advance!