Skip to content

"windows" as GRanges vs GRangesList #2

Open

Description

@walaj

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?

Activity

  1. mskilab commented on Mar 19, 2016

    @mskilab
    Collaborator

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions