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

Documentation for setting X domain across multiple chromosomes #846

Open
keller-mark opened this issue Mar 6, 2023 · 1 comment
Open
Labels
enhancement New feature or request grammar Something related to the grammar v2 Issues related to Gosling v2

Comments

@keller-mark
Copy link

Is there a recommended way to set an X domain that spans multiple chromosomes? I figured out how to do it by doing math with the absolute positions but I am not sure if there is an easier way. { chromosome: startChrName, interval: [startRelativePos, startRelativePos + (endAbsolutePos - startAbsolutePos)] } Related to #845 and #844

@keller-mark keller-mark added the enhancement New feature or request label Mar 6, 2023
@sehilyi
Copy link
Member

sehilyi commented May 5, 2023

Apologize, I somehow missed your gh issues. I am now going through them.

Currently, you can either use chromosome + interval or just interval (two abs positions), but it looks like a useful option to have. We could support something like:

xDomain: { start: { chromosome: string, position: number }, end: { chromosome: string, position: number } }

@sehilyi sehilyi added the grammar Something related to the grammar label May 5, 2023
@sehilyi sehilyi added the v2 Issues related to Gosling v2 label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request grammar Something related to the grammar v2 Issues related to Gosling v2
Projects
None yet
Development

No branches or pull requests

2 participants