Open xscapintime opened 1 year ago
Hi, same issue. The pearson correlation matrix looks nice and the bigwig/bedgraph values are extreme an don`t match. I checked -we 1 and 2. Thanks
I also found the same issue, I wonder if anyone has a better explanation. I guess that with the shortening of bin length, it may be more likely to have some abnormally high observations, and therefore extreme eigenvalues.
@xscapintime @ralfgilsbach I wonder how you finally dealt with this problem?
We moved back to homertools for eigenvector calculations. It should be fixed in hicexplorer to work in a comparable manner.
@zhongzheng1999 Hi, I changed to cooltoos for all the analysis.
@xscapintime @ralfgilsbach Thank you for your reply! I think it's more reliable to use some good old tools to do the work.
Hi,
I'm using the latest version of HiCExplorer, and I have had used version 3.6.* last year. The eigenvalues produced are completly different. I have read the code and commit info saying 3.7.2 is more Lieberman-Aiden way, PCA on an obs/exp matrix, and in 3.6 it's PCA on an pearson's matrix.
Python version: 3.8.13
I used the same command, as below, one for pearson matrix and eigenvalue bedgraph, and one for eigenvalue bw,
here is the result produced by 3.6, I use
np.histogram
to have a quick glanceSo the range of PC1 is about -0.1 to 0.13.![pearson 3.6](https://user-images.githubusercontent.com/51685739/202374935-955a9c9d-28cf-4cae-b5be-09bc95ae1ab4.png)
and this is by 3.7.2
And now the range of PC1 is about -0.7 to 1, and most of the values are very close to 0.
Personally I don't think the results from 3.7.2 looks right.
In this paper they said PCA was done on contact matrix. And the distribution of PC1 is similar to the results from hicPCA 3.6.
Thank you.