Replies: 9 comments 1 reply
-
Thanks for the note & sorry for the slow reply. It appears we pass:
The CLI should be updated to pass these to We should decide, however, if we set min_dist_bad_bin=1 by default (it may be more interpretable) cc @golobor |
Beta Was this translation helpful? Give feedback.
-
is this addressed in new user-facing |
Beta Was this translation helpful? Give feedback.
-
insulation calculation of cooltools can now ignore NaNs and neighboring regions, controlled by min_dist_bad_bin param (introduced with pre-0.5.0 updates here 98b11db). @gfudenberg , what do you think about the normalization of insulation to the background? |
Beta Was this translation helpful? Give feedback.
-
Do you mean the `norm_by_median` argument in insul_diamond that is not
passed along to the user-facing function ?
…On Fri, Nov 12, 2021, 7:51 PM agalitsyna ***@***.***> wrote:
insulation calculation of cooltools can now ignore NaNs and neighboring
regions, controlled by min_dist_bad_bin param (introduced with pre-0.5.0
updates here 98b11db
<98b11db>
).
@gfudenberg <https://github.com/gfudenberg> , what do you think about the
normalization to the background?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#266 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEV7GZPZTMCRTL47RLWKJQTULXOFRANCNFSM5DFRXS4A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
Ah, okay, I had another explanation in mind. There is another widespread type of insulation normalization where the IS track is divided not by the whole chromosome average but by the moving centered average. This is not a traditional insulation score definition, and I am not sure who first implemented it. Some examples of "moving average insulation": [1] and [2]. cooltools has the traditional insulation right now, following the original Crane et al. 2016 work |
Beta Was this translation helpful? Give feedback.
-
got it-- sure I'd think a local option could be reasonable to add. other thoughts? @agalitsyna @golobor @Phlya |
Beta Was this translation helpful? Give feedback.
-
I am not sure at the moment - what's the motivation for this local normalization? I'd suggest that we do some studies before adding such a non-trivial feature to the main code. |
Beta Was this translation helpful? Give feedback.
-
Oh missed this. Yes, I agree with Anton - is there a reason to do this? It shouldn't really affect positions of dips of insulation anyway... And whether it would improve anything is not at all obvious to me. Is there a use case where it works better? |
Beta Was this translation helpful? Give feedback.
-
Should we close this / move to discussion ? |
Beta Was this translation helpful? Give feedback.
-
Old issue title: Insulation score does not ignore "NaN" regions; additionally, can diamond insulation be normalized to surrounding region?
Hi, there are two separate concerns here:
Beta Was this translation helpful? Give feedback.
All reactions