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

Dispersed bin squares in Saddle plots for individual chromosomes #162

Open
yermek2030 opened this issue Jul 23, 2023 · 6 comments
Open

Dispersed bin squares in Saddle plots for individual chromosomes #162

yermek2030 opened this issue Jul 23, 2023 · 6 comments

Comments

@yermek2030
Copy link

yermek2030 commented Jul 23, 2023

Many thanks for creating such a fantastic tool!
1). I have been successfully building AB enrichment profiles for individual chromosomes with 20 bins, 'uncentered', the 10 bin plots 'uncentered' are also good. However, when I try to plot 10 (Figure1), 20 (Figure2), or 100 bins 'centered' (Figure3) my bin squares appear disjointed from each other. In fact, at 100 bin resolution, even the uncentered bins look dispersed (Figure4) with large white gaps between them. The only difference between Figure 3 and Figure 4 (centered and uncentered respectively) is that the bin cubes are slightly larger in uncentered.
Is it related to coverage (but mine is higher than 30x) or the specificity of FAN-C?
2). Also, when I do 'uncentered' option at any number of bins, the resolution drops to half of the number of bins I have specified for some reason: for example, if I put 10 bins the plot comes out with 5 bins (5x5 square). So, below on the centered plots you can see 20 and 40 bins despite me specifying 10 and 20 bins respectively (Figure 1 and Figure 2)
Thanks.
WhatsApp Image 2023-07-24 at 16 36 58 (2)
WhatsApp Image 2023-07-24 at 16 36 58 (1)
WhatsApp Image 2023-07-24 at 16 36 57
WhatsApp Image 2023-07-24 at 16 36 57 (1)

@yermek2030 yermek2030 changed the title No option of plotting Saddle plots for individual chromosomes? Dispersed bin squares in Saddle plots for individual chromosomes Jul 23, 2023
@kaukrise
Copy link
Collaborator

Hey, I'm currently on holiday, so can only look at this in a few weeks, sorry

@kaukrise
Copy link
Collaborator

Hey, sorry about the delay. Can you please send me the complete commands that you used, from generating the AB enrichment matrix to plotting the saddle plot? Thank you!

@yermek2030
Copy link
Author

Hi, no problem. Can I send it to you as a private message somehow here?

@yermek2030
Copy link
Author

yermek2030 commented Aug 17, 2023 via email

@kaukrise
Copy link
Collaborator

Thank you. Your chosen resolution is simply far too large for the fine-grained percentiles you've chosen. Try something smaller, like 100kb. The reason that this is more pronounced when using centred saddle plots is because 0 is chosen as the midpoint, and if the EV has more negative than positive values (or vice versa) this will affect the side with less values.

@yermek2030
Copy link
Author

yermek2030 commented Aug 17, 2023 via email

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

2 participants