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

Consider adding ignore_diags to sample #347

Open
Phlya opened this issue Mar 31, 2022 · 7 comments
Open

Consider adding ignore_diags to sample #347

Phlya opened this issue Mar 31, 2022 · 7 comments

Comments

@Phlya
Copy link
Member

Phlya commented Mar 31, 2022

This would allow one to more fairly sample libraries in cases of divergence in very short range contact frequency (very typical, and accounts for a large % of total contacts).

Should this be done only in the case of specified cis_count or for global count as well?

@gfudenberg
Copy link
Member

I could see it being useful for frac as well

@Phlya
Copy link
Member Author

Phlya commented Mar 31, 2022

How would it work for frac?..

@gfudenberg
Copy link
Member

gfudenberg commented Mar 31, 2022 via email

@Phlya
Copy link
Member Author

Phlya commented Mar 31, 2022

But fraction is independent of the total number of contacts...

@gfudenberg
Copy link
Member

not if exact is used?

count = np.round(frac * clr.info["sum"])

@Phlya
Copy link
Member Author

Phlya commented Apr 1, 2022

Sorry, I still don't understand...

@gfudenberg
Copy link
Member

consider merging with issue #458

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

No branches or pull requests

2 participants