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

Spatial layout #1101

Draft
wants to merge 30 commits into
base: higlassless
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
b75d63d
chore: add chromospace dependency
dvdkouril Jan 21, 2025
15d4aea
wip: basic chromospace integration using etowah's prototype
dvdkouril Jan 21, 2025
131505c
chore: committing lockfile
dvdkouril Jan 21, 2025
3b570e8
chore: regenerate `gosling.schema.json`
dvdkouril Jan 21, 2025
bb09b49
feat: add spatial layout example spec for debugging
dvdkouril Jan 23, 2025
929f3e8
feat(wip): color field for spatial view
dvdkouril Jan 23, 2025
d32043c
chore: starting a documentation for the spatial layout
dvdkouril Jan 23, 2025
e14a0f8
add `spatial` option to Layout
dvdkouril Jan 24, 2025
75994af
wip: adding 'spatial' layout
dvdkouril Feb 7, 2025
e3c0dda
chore(core): sync changes to the `spatial-layout` branch (#1107)
sehilyi Feb 11, 2025
e803b94
Merge branch 'higlassless' into dvdkouril/spatial-layout
sehilyi Feb 12, 2025
760b45c
chore(core): the most recent change to `spatial-layout` (#1108)
sehilyi Feb 12, 2025
a4593fb
Merge branch 'higlassless' into dvdkouril/spatial-layout
sehilyi Feb 12, 2025
395c902
fix lint by updating schema files
sehilyi Feb 12, 2025
3b0611e
wip: sketch of spatial track
dvdkouril Feb 14, 2025
ffe02a3
add minimal example for spatial layout
dvdkouril Feb 19, 2025
51e358c
feat: loading spatial coordinates from CSV file
dvdkouril Feb 19, 2025
5b86017
update schema with spatial layout related options
dvdkouril Feb 19, 2025
fe648bb
clean up
dvdkouril Feb 19, 2025
5cc60c1
feat: sourcing the mappings for xyz coords based on spec in "spatial"
dvdkouril Feb 19, 2025
766fd7c
wip: using the `color` and `size` fields
dvdkouril Feb 25, 2025
b233dc0
handle `size` channel
dvdkouril Feb 25, 2025
df50e04
bump version of chromospace
dvdkouril Feb 25, 2025
f7d7da2
remove hardcoded value for scale
dvdkouril Feb 25, 2025
3279670
bump chromospace (again)
dvdkouril Feb 25, 2025
4cf37ef
super super hacky way to get the range for a size channel
dvdkouril Feb 26, 2025
8c446dd
bump chromospace and use new features for nominal data type
dvdkouril Feb 27, 2025
83446a5
example for multiple tracks in spatial layout view
dvdkouril Feb 28, 2025
547035c
just a little clean up
dvdkouril Feb 28, 2025
ebdeb47
wip: multiple tracks composition
dvdkouril Mar 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix lint by updating schema files
  • Loading branch information
sehilyi committed Feb 12, 2025
commit 395c9026a72444cca23e2755179988491c1d8668
56 changes: 55 additions & 1 deletion src/gosling-schema/gosling.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -389,14 +389,31 @@
"description": "Assigned to `uid` in a HiGlass view config, used for API and caching.",
"type": "string"
},
"layout": {
"const": "spatial",
"type": "string"
},
"orientation": {
"$ref": "#/definitions/Orientation",
"description": "Specify the orientation."
},
"overlayOnPreviousTrack": {
"const": false,
"type": "boolean"
},
"static": {
"description": "Whether to disable [Zooming and Panning](http://gosling-lang.org/docs/user-interaction#zooming-and-panning), __Default:__ `false`.",
"type": "boolean"
},
"style": {
"additionalProperties": {
"type": [
"string",
"number"
]
},
"type": "object"
},
"title": {
"description": "If defined, will show the textual label on the left-top corner of a track.",
"type": "string"
Expand All @@ -408,6 +425,14 @@
"width": {
"description": "Specify the track width in pixels.",
"type": "number"
},
"zoomLimits": {
"items": {
"type": "null"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
}
},
"required": [
Expand Down Expand Up @@ -5432,6 +5457,10 @@
"const": "linear",
"description": "Only linear layout are supported at this time",
"type": "string"
},
{
"const": "spatial",
"type": "string"
}
],
"description": "Specify the layout type of all tracks."
Expand Down Expand Up @@ -5472,7 +5501,15 @@
"type": "number"
},
"overlayOnPreviousTrack": {
"type": "boolean"
"anyOf": [
{
"type": "boolean"
},
{
"const": false,
"type": "boolean"
}
]
},
"row": {
"anyOf": [
Expand Down Expand Up @@ -5548,6 +5585,15 @@
{
"$ref": "#/definitions/DummyTrackStyle",
"description": "Defines how the track is styled"
},
{
"additionalProperties": {
"type": [
"string",
"number"
]
},
"type": "object"
}
],
"description": "Define the [style](http://gosling-lang.org/docs/visual-channel#style-related-properties) of multive views. Will be overwritten by the style of children elements (e.g., view, track)."
Expand Down Expand Up @@ -5729,6 +5775,14 @@
"maxItems": 2,
"minItems": 2,
"type": "array"
},
{
"items": {
"type": "null"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
}
]
}
Expand Down
Loading