Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

insulation score #39

Open
wawpaopao opened this issue Mar 19, 2024 · 5 comments
Open

insulation score #39

wawpaopao opened this issue Mar 19, 2024 · 5 comments

Comments

@wawpaopao
Copy link

Hello,

I noticed there was code for evaluation in issue 29, but I want to ask the specific code used for calculating the insulation score, ''import insulation as insu''.

Additionally, I am intrigued by the visualization presented in Figure 2.d of the ATAC_seq and CTCF. Are the values within each window_size region averaged to generate these plots?

Thanks!

@1944498970
Copy link

Hello jimin
I noticed that you have uploaded the code for the insulation score. However, I have a small question. The values in the matrix should mostly be positive, so the average values of the left and right regions should also be positive. In that case, the calculated insulation score should also be positive. Why is the insulation score in Fig. 2e of the article negative? Was it normalized in some way?

@tanjimin
Copy link
Owner

Hello jimin
I noticed that you have uploaded the code for the insulation score. However, I have a small question. The values in the matrix should mostly be positive, so the average values of the left and right regions should also be positive. In that case, the calculated insulation score should also be positive. Why is the insulation score in Fig. 2e of the article negative? Was it normalized in some way?

Yes, the figure is showing standardized insulation score for each window.

@1944498970
Copy link

the figure is showing standardized insulation score for each window.

I would like to inquire whether the Pearson correlation coefficient (Pearson's r) on the graph represents the correlation coefficient between standardized data or between unstandardized data.

@tanjimin
Copy link
Owner

Hi @1944498970 I don't think standardization changes pearson/spearman correlations. I think the Pearson'r shown is calculated on unnormalized data.

@1944498970
Copy link

Hi @1944498970 I don't think standardization changes pearson/spearman correlations. I think the Pearson'r shown is calculated on unnormalized data.

I am genuinely appreciative that your prompt and effective response has truly resolved my issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants