Commit b8f6d6d
feat: add capabilities for
* feat: spatial MVP
* chore(editor): spatial examples are the default demo in the editor (#1127)
chore: make the spatial examples the default
* feat: 3D model for a spatial view specified in the layout (#1131)
* 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
* chore: move the 3d examples to the top; use the new grammar in example specs (#1139)
chore: move the 3d examples to the top; use the new grammar in examples
* feat(editor): add a 3D yeast model example displayed in three layout 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]>
* Clean up basic examples (#1141)
* 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 (#1142)
* feat: remove data requirement for 3D tracks
* comment statement
* chore: update demo examples
* fix: parsed genomic coordinates shouldn't be NaN even if assembly is 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
* Example: three different ways of setting color (#1144)
* 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'
* fix: pass the mark option from spec
* feat: density example (#1145)
* feat(editor): example of composing multiple tracks within one spatial 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
* feat(editor): add example using models from Tan 2018 (#1148)
* feat(editor): Tan example highlights using sequential color (#1149)
* format
* more format/eslint
* format: remove unused vars
* dirty assert options as SpatialTrackOptions
* refactor: somewhat better type check when fetching column from tables
* refactor: getting rid of squiggly lines
* refactor: typing of the handleColor function
* refactor: type errors in handleSizeField
* wip
* temporary fix: doesn't make sense now but new uchimata will fix it
* refactor: use new library name and update api usage
renamed the underlying library from `chromospace` to `uchimata`
* (wip)fix: type errors around spatial views/tracks
* suppress warning about `ProcessedSpatialTrack`
Same thing is used for GoslingTrack. There's probably a better solution
* assert xScale when using certain transforms
also moved the assert function to separate file
* fix import path
* cleaning up some properties
* rename ChromospaceTrack to SpatialTrack
* mark a todo for later
* regenerate json schema
* add Encoding in the SpatialTrack type
* add data to spatialtrack
* wip: copying over some properties
some done by claude
* wip(broken): sorted out the types
for the most part, the typing should be fine. next will actually make it work again
* working version without type errors
* docs
* regenerate schema
* cleaning up the changes
* remove console logs
* run prettier on package.json
was getting some weird merge conflicts
* format
* Update editor/example/json-spec/3d-yeast-model.ts
Co-authored-by: SEHI L'YI <[email protected]>
* Update editor/example/json-spec/3d-yeast-model.ts
Co-authored-by: SEHI L'YI <[email protected]>
---------
Co-authored-by: David Kouril <[email protected]>spatial layout type (#1138)1 parent 98b0ae9 commit b8f6d6d
File tree
32 files changed
+2290
-99
lines changed- demo
- renderer
- track-def
- docs
- editor/example
- json-spec
- thumbnails
- src
- compiler
- core/utils
- gosling-schema
- tracks
- gosling-track
- spatial-track
32 files changed
+2290
-99
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
146 | 148 | | |
147 | 149 | | |
148 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
149 | 168 | | |
150 | 169 | | |
151 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
84 | 100 | | |
85 | 101 | | |
86 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | | - | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | | - | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
54 | 70 | | |
55 | 71 | | |
56 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
47 | 52 | | |
48 | 53 | | |
49 | 54 | | |
| |||
423 | 428 | | |
424 | 429 | | |
425 | 430 | | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
426 | 468 | | |
427 | 469 | | |
428 | 470 | | |
| |||
0 commit comments