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

"windows" as GRanges vs GRangesList #2

Open
walaj opened this issue Mar 19, 2016 · 1 comment
Open

"windows" as GRanges vs GRangesList #2

walaj opened this issue Mar 19, 2016 · 1 comment

Comments

@walaj
Copy link
Collaborator

walaj commented Mar 19, 2016

I noticed that there is code to loop through "windows" in plot, where each windows is a GRangesList. What is the reason why there would be a GRangesList of windows, as opposed to an st-reduced GRanges specifying the coordinates to plot on? Can we just make these GRanges with no window loop?

@mskilab
Copy link
Collaborator

mskilab commented Mar 19, 2016

yeah this is an original that was built into gTrack / trackData at the beginning but we never use.

providing a grangeslist windows of length 2 will create two vertically stacked views on the same gTrack object, with rearrangement links potentially between them. It ended up looking very messy, so we never use it. I haven't even tried it in a while.

You can try removing this - but it won't be straightforward. The canvas partitioning, scaling, indexing of tracks and assigning their real estate on the screen depends on it.

Best approach is to just require granges up front ie conceal this "feature" from the user.

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