-
Notifications
You must be signed in to change notification settings - Fork 28
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
Questions: Why half of pairwise is not a exact mirror of the other half? And about negative values.. #35
Comments
Hi @Rseq I'm not a developer of Intervene, just a regular user. However, I'm just as confused as you about the results that it produces. Have a look: #34 I am guessing that both of our problems are related to what is stated in an older comment here: #27 (comment). It doesn't make much sense to me that the order of the files should give different results. Set intersection should be commutative, even when looking at overlaps across multiple (sets of) genomic regions. This also makes the results of Intervene to end up very different from those of other tools, as I've shown in #34. |
Thanks for sharing your doubts as well. |
Yes, I hope we'll get a reply from the developers. |
Dear @Rseq @amizeranschi, I apologize for the late response. For some reason, this slipped off my radar. This is quite tricky when we plot Ven diagrams for genomic regions. As you will not have always a one-to-one overlap.
This is explained well enough here by the pybedtools developer as posted by @amizeranschi #27 daler/pybedtools#45 (comment) @Rseq you are right in your first comment. This is the reason why I will push a new version soon with options to set I hope this helps and thanks again for your interest! Best, |
Many thanks for your reply, @asntech ! Although this part here is still not clear for me
Would you mind explain it or point me towards an explanation? Thank you for your time |
+1 to implementing This way, the intersection operation would become commutative, so the order of the input files won't matter and the pairwise plot would be symmetric. |
Hi @asntech I hope these warnings will go away too with the update you are planning
Also when I try plotting the dendogram it throws me the following error
|
Good morning,
Many thanks for developing this amazing tool.
I have a doubt about the pairwise mode that may seem naive, but I could not figure out.
I notice in some of my dataset and also here in this example:
intervene pairwise -i ~/dbSUPER/mm9/*.bed --filenames --compute frac --htype color
https://intervene.readthedocs.io/en/latest/_images/pairwise_color.png
In that example, half of the data is not mirrored on the other half. As the combination is the same, why the values are not mirrored?
For example, "Bone_Marrow" row and "Spleen" column should not have the same value as "Spleen" row and "Bone_Marrow" column?
I assume that this is the reason why "tribar" mode is not recommended for "count" or "frac", but why this happen?
Would you mind to clarify? And how to interpret this in the correct way?
If I plot correlation , let's say "pearson", this doesn't happen and I get mirrored values as I would expected. Would this be a solution?
If so, what negative values are saying to me in this case? Would that be that instead of being negative correlate (variable A increases while B decreases or vice-versa) it would be close to zero (-1 = 0 overlaps)?
Thank you for your time
The text was updated successfully, but these errors were encountered: