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

plot_arcs_compare #34

Open
scottallen877 opened this issue Apr 28, 2024 · 1 comment
Open

plot_arcs_compare #34

scottallen877 opened this issue Apr 28, 2024 · 1 comment

Comments

@scottallen877
Copy link

region argument in plot_arcs_compare does not behave as expected. This argument still displays the entire sequence x-axis but only plots interactions that begin prior to the region cutoff. Even if the interaction extends beyond the region cutoff, the entire arc is displayed. For example:

plot = rnav.plot_arcs_compare(
samples=[6kb_RNA1, 6kb_RNA2],
sequence="ss",
plot_kwargs={"dpi": 50},
interactions="pairprob",
region=[1,2000]
)

returns a 6kb x axis with the full sequence displayed. Arcs exist for the first 2kb. Some arcs begin before nucleotide 2000 but extend to nucleotide 2200 and are still fully displayed.

On another note - it would also be very useful to be able to plot annotations on these graphs. They currently don't accept that argument.

@Psirving
Copy link
Member

Thanks Scott,

This is a duplicate of #29, I will post another option there.

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