Skip to content

spatial layout #1138

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

Draft
wants to merge 14 commits into
base: v2
Choose a base branch
from
Draft

spatial layout #1138

wants to merge 14 commits into from

Conversation

sehilyi
Copy link
Member

@sehilyi sehilyi commented Apr 2, 2025

Fix #
Toward #

basic use

{
  "views": [
    {
      "layout": {
        "type": "spatial",
        "model": {
          "type": "csv",
          "url": "https://.../yeast_model.csv",
          "xyz": ["x", "y", "z"],
          "chromosome": "chr",
          "position": "coord"
        }
      },
      "tracks": [
        { ... }
      ]
    }
  ]
}

Change List

Checklist

  • Ensure the PR works with all demos on the online editor
  • Unit tests added or updated
  • Examples added or updated
  • Documentation updated (e.g., added API functions)
  • Screenshots for visual changes (e.g., new encoding support or UI change on Editor)

dvdkouril and others added 3 commits March 4, 2025 12:40
* feat: minimal join data transform

* chore: add a todo statement

* first working demo

* more work on bigwig join

* first demo to load bigwig and full chromosomes

* all d3 models drawn

* chore: remove console log statements and clean up code

* chore: fix typo in the comment statement

* chore: more clean up

* chore: compact axis

* fix: fix loading json-based track

* feat: grammar extension for 3D layout (#1136)

feat: better grammar extension for 3d vis
@sehilyi sehilyi marked this pull request as draft April 2, 2025 18:38
@sehilyi sehilyi changed the title [draft] spatial layout spatial layout Apr 2, 2025
sehilyi and others added 11 commits April 2, 2025 15:32
…e specs (#1139)

chore: move the 3d examples to the top; use the new grammar in examples
…options (#1140)

* feat: add a Yeast model example

* add thumbnail for yeast example

* make the yeast example the default

at least for now

---------

Co-authored-by: David Kouril <[email protected]>
* chore: minimal example

replaced the default (draft) thumbnail, also removed the very early example i used (with linked views) and the thumbnail

* chore: remove the multiple tracks example for now

still needs some implementation to be able to show that
* feat: remove data requirement for 3D tracks

* comment statement

* chore: update demo examples
…not specified (#1143)

* fix: parse genomic coordinates properly even if assembly is incorrectly defined

* remove console logs

* join correctly when there is only a single genomic field
* feat: add example of different coloring strategies

constant vs nominal vs quantitative

* chore: remove data fields in tracks since it's not needed anymore

* chore: change the default model for minimal to stevens

also reverted back to being really 'minimal'
… view (#1147)

* wip: combining multiple tracks within a single spatial view

very very bad so far, just a first checkpoint toward something sorta working

* feat: add a new example for superimposition

* wip: multiple overlaid track

* feat: (wip)example for composing multiple tracks within one spatial view

touches the join implementation a bit

* chore: remove computation of parent views

* chore: clean up of unused properties

* chore: clean up (log, unused var)

* chore: delete commented line

* chore: delete log and commented out line
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

Successfully merging this pull request may close these issues.

2 participants