@genome-spy/core 0.66.1 → 0.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle/index.es.js +7669 -6115
- package/dist/bundle/index.js +114 -133
- package/dist/schema.json +534 -132
- package/dist/src/data/collector.d.ts +20 -0
- package/dist/src/data/collector.d.ts.map +1 -1
- package/dist/src/data/collector.js +148 -0
- package/dist/src/data/dataFlow.d.ts +6 -0
- package/dist/src/data/dataFlow.d.ts.map +1 -1
- package/dist/src/data/dataFlow.js +10 -0
- package/dist/src/data/flowHandle.d.ts +2 -0
- package/dist/src/data/flowHandle.d.ts.map +1 -1
- package/dist/src/data/flowHandle.js +1 -0
- package/dist/src/data/flowInit.d.ts +12 -4
- package/dist/src/data/flowInit.d.ts.map +1 -1
- package/dist/src/data/flowInit.js +115 -17
- package/dist/src/data/flowNode.d.ts +8 -0
- package/dist/src/data/flowNode.d.ts.map +1 -1
- package/dist/src/data/flowNode.js +18 -0
- package/dist/src/data/keyIndex.d.ts +18 -0
- package/dist/src/data/keyIndex.d.ts.map +1 -0
- package/dist/src/data/keyIndex.js +241 -0
- package/dist/src/data/keyIndex.test.d.ts +2 -0
- package/dist/src/data/keyIndex.test.d.ts.map +1 -0
- package/dist/src/data/sources/dataSource.d.ts.map +1 -1
- package/dist/src/data/sources/dataSource.js +5 -1
- package/dist/src/data/sources/dataSourceFactory.d.ts +14 -12
- package/dist/src/data/sources/dataSourceFactory.d.ts.map +1 -1
- package/dist/src/data/sources/dataSourceFactory.js +52 -16
- package/dist/src/data/sources/lazy/mockLazySource.d.ts +29 -0
- package/dist/src/data/sources/lazy/mockLazySource.d.ts.map +1 -0
- package/dist/src/data/sources/lazy/mockLazySource.js +44 -0
- package/dist/src/data/sources/lazy/singleAxisLazySource.d.ts +22 -1
- package/dist/src/data/sources/lazy/singleAxisLazySource.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/singleAxisLazySource.js +34 -2
- package/dist/src/data/sources/lazy/singleAxisWindowedSource.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/singleAxisWindowedSource.js +15 -0
- package/dist/src/data/sources/lazy/tabixSource.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/tabixSource.js +15 -5
- package/dist/src/data/transforms/stack.d.ts.map +1 -1
- package/dist/src/data/transforms/stack.js +1 -0
- package/dist/src/encoder/accessor.d.ts +43 -0
- package/dist/src/encoder/accessor.d.ts.map +1 -1
- package/dist/src/encoder/accessor.js +164 -0
- package/dist/src/encoder/encoder.d.ts +11 -2
- package/dist/src/encoder/encoder.d.ts.map +1 -1
- package/dist/src/encoder/encoder.js +24 -4
- package/dist/src/encoder/metadataChannels.d.ts +15 -0
- package/dist/src/encoder/metadataChannels.d.ts.map +1 -0
- package/dist/src/encoder/metadataChannels.js +65 -0
- package/dist/src/encoder/metadataChannels.test.d.ts +2 -0
- package/dist/src/encoder/metadataChannels.test.d.ts.map +1 -0
- package/dist/src/genome/scaleLocus.d.ts.map +1 -1
- package/dist/src/genome/scaleLocus.js +14 -1
- package/dist/src/genomeSpy/containerUi.d.ts +0 -1
- package/dist/src/genomeSpy/containerUi.d.ts.map +1 -1
- package/dist/src/genomeSpy/containerUi.js +0 -14
- package/dist/src/genomeSpy/loadingIndicatorManager.d.ts +3 -7
- package/dist/src/genomeSpy/loadingIndicatorManager.d.ts.map +1 -1
- package/dist/src/genomeSpy/loadingIndicatorManager.js +68 -20
- package/dist/src/genomeSpy/loadingStatusRegistry.d.ts +52 -0
- package/dist/src/genomeSpy/loadingStatusRegistry.d.ts.map +1 -0
- package/dist/src/genomeSpy/loadingStatusRegistry.js +86 -0
- package/dist/src/genomeSpy/viewContextFactory.d.ts.map +1 -1
- package/dist/src/genomeSpy/viewContextFactory.js +0 -1
- package/dist/src/genomeSpy/viewDataInit.d.ts +10 -0
- package/dist/src/genomeSpy/viewDataInit.d.ts.map +1 -1
- package/dist/src/genomeSpy/viewDataInit.js +166 -2
- package/dist/src/genomeSpy/viewDataInit.test.d.ts +2 -0
- package/dist/src/genomeSpy/viewDataInit.test.d.ts.map +1 -0
- package/dist/src/genomeSpy.d.ts +1 -2
- package/dist/src/genomeSpy.d.ts.map +1 -1
- package/dist/src/genomeSpy.js +69 -27
- package/dist/src/gl/dataToVertices.d.ts.map +1 -1
- package/dist/src/gl/dataToVertices.js +16 -4
- package/dist/src/marks/mark.d.ts.map +1 -1
- package/dist/src/marks/mark.js +18 -11
- package/dist/src/marks/markUtils.js +1 -1
- package/dist/src/scale/scale.d.ts +6 -1
- package/dist/src/scale/scale.d.ts.map +1 -1
- package/dist/src/scale/scale.js +83 -23
- package/dist/src/scales/axisResolution.d.ts.map +1 -1
- package/dist/src/scales/axisResolution.js +10 -0
- package/dist/src/scales/{scaleDomainAggregator.d.ts → domainPlanner.d.ts} +8 -5
- package/dist/src/scales/domainPlanner.d.ts.map +1 -0
- package/dist/src/scales/domainPlanner.js +285 -0
- package/dist/src/scales/domainPlanner.test.d.ts +2 -0
- package/dist/src/scales/domainPlanner.test.d.ts.map +1 -0
- package/dist/src/scales/scaleInstanceManager.d.ts.map +1 -1
- package/dist/src/scales/scaleInstanceManager.js +8 -4
- package/dist/src/scales/scaleInteractionController.d.ts +6 -0
- package/dist/src/scales/scaleInteractionController.d.ts.map +1 -1
- package/dist/src/scales/scaleInteractionController.js +41 -3
- package/dist/src/scales/scaleResolution.d.ts +19 -16
- package/dist/src/scales/scaleResolution.d.ts.map +1 -1
- package/dist/src/scales/scaleResolution.js +255 -70
- package/dist/src/scales/scaleResolution.test.d.ts.map +1 -1
- package/dist/src/selection/selection.d.ts +21 -0
- package/dist/src/selection/selection.d.ts.map +1 -1
- package/dist/src/selection/selection.js +82 -0
- package/dist/src/spec/channel.d.ts +52 -15
- package/dist/src/spec/data.d.ts +4 -0
- package/dist/src/spec/parameter.d.ts +16 -11
- package/dist/src/spec/testing.d.ts +12 -0
- package/dist/src/spec/testing.d.ts.map +1 -0
- package/dist/src/spec/testing.js +20 -0
- package/dist/src/spec/view.d.ts +45 -10
- package/dist/src/styles/genome-spy.css +3 -31
- package/dist/src/styles/genome-spy.css.d.ts +1 -1
- package/dist/src/styles/genome-spy.css.d.ts.map +1 -1
- package/dist/src/styles/genome-spy.css.js +0 -29
- package/dist/src/types/encoder.d.ts +37 -2
- package/dist/src/types/rendering.d.ts +4 -3
- package/dist/src/types/viewContext.d.ts +0 -14
- package/dist/src/utils/domainArray.d.ts.map +1 -1
- package/dist/src/utils/domainArray.js +3 -0
- package/dist/src/utils/indexer.d.ts +3 -0
- package/dist/src/utils/indexer.d.ts.map +1 -1
- package/dist/src/utils/indexer.js +3 -0
- package/dist/src/utils/throttle.d.ts +4 -1
- package/dist/src/utils/throttle.d.ts.map +1 -1
- package/dist/src/utils/throttle.js +54 -23
- package/dist/src/utils/throttle.test.d.ts +2 -0
- package/dist/src/utils/throttle.test.d.ts.map +1 -0
- package/dist/src/utils/transition.d.ts +21 -0
- package/dist/src/utils/transition.d.ts.map +1 -1
- package/dist/src/utils/transition.js +28 -0
- package/dist/src/utils/ui/tooltip.d.ts.map +1 -1
- package/dist/src/utils/ui/tooltip.js +7 -1
- package/dist/src/utils/ui/tooltip.test.d.ts +2 -0
- package/dist/src/utils/ui/tooltip.test.d.ts.map +1 -0
- package/dist/src/view/axisGridView.d.ts.map +1 -1
- package/dist/src/view/axisGridView.js +22 -5
- package/dist/src/view/axisView.d.ts.map +1 -1
- package/dist/src/view/axisView.js +20 -5
- package/dist/src/view/concatView.js +3 -3
- package/dist/src/view/containerMutationHelper.d.ts.map +1 -1
- package/dist/src/view/containerMutationHelper.js +6 -2
- package/dist/src/view/containerView.d.ts +9 -5
- package/dist/src/view/containerView.d.ts.map +1 -1
- package/dist/src/view/containerView.js +34 -9
- package/dist/src/view/dataReadiness.d.ts +46 -0
- package/dist/src/view/dataReadiness.d.ts.map +1 -0
- package/dist/src/view/dataReadiness.js +267 -0
- package/dist/src/view/dataReadiness.test.d.ts +2 -0
- package/dist/src/view/dataReadiness.test.d.ts.map +1 -0
- package/dist/src/view/facetView.d.ts.map +1 -1
- package/dist/src/view/facetView.js +7 -5
- package/dist/src/view/flowBuilder.d.ts +5 -3
- package/dist/src/view/flowBuilder.d.ts.map +1 -1
- package/dist/src/view/flowBuilder.js +74 -7
- package/dist/src/view/gridView/gridChild.d.ts.map +1 -1
- package/dist/src/view/gridView/gridChild.js +8 -0
- package/dist/src/view/gridView/gridView.d.ts.map +1 -1
- package/dist/src/view/gridView/gridView.js +119 -2
- package/dist/src/view/gridView/scrollbar.d.ts.map +1 -1
- package/dist/src/view/gridView/scrollbar.js +3 -0
- package/dist/src/view/gridView/selectionRect.d.ts.map +1 -1
- package/dist/src/view/gridView/selectionRect.js +20 -5
- package/dist/src/view/gridView/separatorView.d.ts +51 -0
- package/dist/src/view/gridView/separatorView.d.ts.map +1 -0
- package/dist/src/view/gridView/separatorView.js +275 -0
- package/dist/src/view/layerView.js +3 -3
- package/dist/src/view/layout/flexLayout.d.ts +0 -30
- package/dist/src/view/layout/flexLayout.d.ts.map +1 -1
- package/dist/src/view/layout/flexLayout.js +0 -86
- package/dist/src/view/paramMediator.d.ts +19 -0
- package/dist/src/view/paramMediator.d.ts.map +1 -1
- package/dist/src/view/paramMediator.js +86 -19
- package/dist/src/view/testUtils.d.ts.map +1 -1
- package/dist/src/view/testUtils.js +11 -1
- package/dist/src/view/unitView.d.ts +8 -13
- package/dist/src/view/unitView.d.ts.map +1 -1
- package/dist/src/view/unitView.js +127 -43
- package/dist/src/view/view.d.ts +34 -14
- package/dist/src/view/view.d.ts.map +1 -1
- package/dist/src/view/view.js +119 -9
- package/dist/src/view/viewFactory.d.ts.map +1 -1
- package/dist/src/view/viewFactory.js +20 -1
- package/dist/src/view/viewSelectors.d.ts +148 -0
- package/dist/src/view/viewSelectors.d.ts.map +1 -0
- package/dist/src/view/viewSelectors.js +773 -0
- package/dist/src/view/viewSelectors.test.d.ts +2 -0
- package/dist/src/view/viewSelectors.test.d.ts.map +1 -0
- package/dist/src/view/viewUtils.d.ts +0 -8
- package/dist/src/view/viewUtils.d.ts.map +1 -1
- package/dist/src/view/viewUtils.js +1 -21
- package/package.json +3 -3
- package/dist/src/scales/scaleDomainAggregator.d.ts.map +0 -1
- package/dist/src/scales/scaleDomainAggregator.js +0 -162
- package/dist/src/scales/scaleDomainAggregator.test.d.ts +0 -2
- package/dist/src/scales/scaleDomainAggregator.test.d.ts.map +0 -1
package/dist/schema.json
CHANGED
|
@@ -839,8 +839,8 @@
|
|
|
839
839
|
"$ref": "#/definitions/FieldName",
|
|
840
840
|
"description": "The field having the chromosome or contig."
|
|
841
841
|
},
|
|
842
|
-
"
|
|
843
|
-
"description": "Whether the field or evaluated expr should be
|
|
842
|
+
"domainInert": {
|
|
843
|
+
"description": "Whether the field or evaluated expr should be excluded from the scale's domain. Prefer the view-level `domainInert` when an entire subtree should be excluded.\n\n**Default value:** `false`",
|
|
844
844
|
"type": "boolean"
|
|
845
845
|
},
|
|
846
846
|
"offset": {
|
|
@@ -999,7 +999,7 @@
|
|
|
999
999
|
"type": "array"
|
|
1000
1000
|
},
|
|
1001
1001
|
"configurableVisibility": {
|
|
1002
|
-
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is
|
|
1002
|
+
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is unique within its import scope.\n\n**Default:** `false` for children of `layer`, `true` for others.",
|
|
1003
1003
|
"type": "boolean"
|
|
1004
1004
|
},
|
|
1005
1005
|
"data": {
|
|
@@ -1020,6 +1020,10 @@
|
|
|
1020
1020
|
],
|
|
1021
1021
|
"description": "A description of the view. Can be used for documentation. The description of the top-level view is shown in the toolbar of the [GenomeSpy App](https://genomespy.app/docs/sample-collections/)."
|
|
1022
1022
|
},
|
|
1023
|
+
"domainInert": {
|
|
1024
|
+
"description": "If true, this view and its descendants do not contribute to scale domains. Child views inherit this flag automatically.\n\n**Default value:** `false`",
|
|
1025
|
+
"type": "boolean"
|
|
1026
|
+
},
|
|
1023
1027
|
"encoding": {
|
|
1024
1028
|
"$ref": "#/definitions/Encoding",
|
|
1025
1029
|
"description": "Specifies how data are [encoded](https://genomespy.app/docs/grammar/mark/#encoding) using the visual channels."
|
|
@@ -1043,7 +1047,7 @@
|
|
|
1043
1047
|
"description": "Height of the view. If a number, it is interpreted as pixels. Check [child sizing](https://genomespy.app/docs/grammar/composition/concat/#child-sizing) for details.\n\n**Default value:** `\"container\"`"
|
|
1044
1048
|
},
|
|
1045
1049
|
"name": {
|
|
1046
|
-
"description": "An
|
|
1050
|
+
"description": "An explicit name used to address the view. It is recommended to keep names unique among siblings. In the App (where view state is bookmarkable), the name must be unique within its import scope for views with configurable visibility, etc.",
|
|
1047
1051
|
"type": "string"
|
|
1048
1052
|
},
|
|
1049
1053
|
"padding": {
|
|
@@ -1090,6 +1094,9 @@
|
|
|
1090
1094
|
"fillOpacity": {
|
|
1091
1095
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
1092
1096
|
},
|
|
1097
|
+
"key": {
|
|
1098
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
1099
|
+
},
|
|
1093
1100
|
"opacity": {
|
|
1094
1101
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
1095
1102
|
},
|
|
@@ -1167,6 +1174,9 @@
|
|
|
1167
1174
|
"fillOpacity": {
|
|
1168
1175
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
1169
1176
|
},
|
|
1177
|
+
"key": {
|
|
1178
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
1179
|
+
},
|
|
1170
1180
|
"opacity": {
|
|
1171
1181
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
1172
1182
|
},
|
|
@@ -1218,6 +1228,17 @@
|
|
|
1218
1228
|
},
|
|
1219
1229
|
"type": "object"
|
|
1220
1230
|
},
|
|
1231
|
+
"separator": {
|
|
1232
|
+
"anyOf": [
|
|
1233
|
+
{
|
|
1234
|
+
"type": "boolean"
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
"$ref": "#/definitions/SeparatorProps"
|
|
1238
|
+
}
|
|
1239
|
+
],
|
|
1240
|
+
"description": "Draws separator rules between visible child views. The separators are centered within the spacing gaps and do not affect layout.\n\nIf `true`, the defaults are equivalent to: `{\"type\":\"rule\",\"size\":1,\"color\":\"#ccc\",\"opacity\":1,\"strokeDash\":[4,4],\"strokeCap\":\"butt\"}` Use `includePlotMargin` to control whether the separators extend into the plot margin.\n\n__Default value:__ `false`"
|
|
1241
|
+
},
|
|
1221
1242
|
"spacing": {
|
|
1222
1243
|
"description": "The gap between the views, in pixels.",
|
|
1223
1244
|
"type": "number"
|
|
@@ -1327,10 +1348,6 @@
|
|
|
1327
1348
|
"minimum": 0,
|
|
1328
1349
|
"type": "number"
|
|
1329
1350
|
},
|
|
1330
|
-
"contributesToScaleDomain": {
|
|
1331
|
-
"description": "Whether the field or evaluated expr should be included in the scale's domain.\n\n**Default value:** `true`",
|
|
1332
|
-
"type": "boolean"
|
|
1333
|
-
},
|
|
1334
1351
|
"datum": {
|
|
1335
1352
|
"anyOf": [
|
|
1336
1353
|
{
|
|
@@ -1386,6 +1403,10 @@
|
|
|
1386
1403
|
{
|
|
1387
1404
|
"additionalProperties": false,
|
|
1388
1405
|
"properties": {
|
|
1406
|
+
"domainInert": {
|
|
1407
|
+
"description": "Whether the field or evaluated expr should be excluded from the scale's domain. Prefer the view-level `domainInert` when an entire subtree should be excluded.\n\n**Default value:** `false`",
|
|
1408
|
+
"type": "boolean"
|
|
1409
|
+
},
|
|
1389
1410
|
"empty": {
|
|
1390
1411
|
"description": "For selection parameters, the predicate of empty selections returns true by default. Override this behavior, by setting this property `empty: false`.",
|
|
1391
1412
|
"type": "boolean"
|
|
@@ -1772,6 +1793,10 @@
|
|
|
1772
1793
|
"$ref": "#/definitions/NumericMarkPropDef",
|
|
1773
1794
|
"description": "Fill opacity of the marks."
|
|
1774
1795
|
},
|
|
1796
|
+
"key": {
|
|
1797
|
+
"$ref": "#/definitions/KeyDef",
|
|
1798
|
+
"description": "One or more data fields that uniquely identify data objects for stable point selections and bookmarking across sessions. Unlike `uniqueId` (an implicit surrogate key), key fields must be stable in the source data.\n\nUse a single field definition for simple keys, or an array of field definitions for composite keys. For composite keys, field order is significant."
|
|
1799
|
+
},
|
|
1775
1800
|
"opacity": {
|
|
1776
1801
|
"$ref": "#/definitions/NumericMarkPropDef",
|
|
1777
1802
|
"description": "Opacity of the marks."
|
|
@@ -1781,7 +1806,8 @@
|
|
|
1781
1806
|
"description": "Facet identifier for interactive filtering, sorting, and grouping in the App."
|
|
1782
1807
|
},
|
|
1783
1808
|
"search": {
|
|
1784
|
-
"$ref": "#/definitions/
|
|
1809
|
+
"$ref": "#/definitions/SearchDef",
|
|
1810
|
+
"description": "One or more fields used by the App's location/search input to match data objects in this view.\n\nUse a single field definition for simple search, or an array for matching against multiple fields. A datum matches when any configured search field matches the entered term."
|
|
1785
1811
|
},
|
|
1786
1812
|
"semanticScore": {
|
|
1787
1813
|
"$ref": "#/definitions/FieldDefWithoutScale"
|
|
@@ -1840,8 +1866,8 @@
|
|
|
1840
1866
|
"description": "Builds and index for efficient rendering of subsets of the data. This setting is useful when rendering large amounts of data and often only a small subset of the data is visible. An example of such a situation is a scatter plot spanning the whole genome.\n\nThis setting implicitly sorts the data by the field assigned on the `x` channel.",
|
|
1841
1867
|
"type": "boolean"
|
|
1842
1868
|
},
|
|
1843
|
-
"
|
|
1844
|
-
"description": "Whether the field or evaluated expr should be
|
|
1869
|
+
"domainInert": {
|
|
1870
|
+
"description": "Whether the field or evaluated expr should be excluded from the scale's domain. Prefer the view-level `domainInert` when an entire subtree should be excluded.\n\n**Default value:** `false`",
|
|
1845
1871
|
"type": "boolean"
|
|
1846
1872
|
},
|
|
1847
1873
|
"field": {
|
|
@@ -1907,8 +1933,8 @@
|
|
|
1907
1933
|
"$ref": "#/definitions/FieldName",
|
|
1908
1934
|
"description": "The field having the chromosome or contig."
|
|
1909
1935
|
},
|
|
1910
|
-
"
|
|
1911
|
-
"description": "Whether the field or evaluated expr should be
|
|
1936
|
+
"domainInert": {
|
|
1937
|
+
"description": "Whether the field or evaluated expr should be excluded from the scale's domain. Prefer the view-level `domainInert` when an entire subtree should be excluded.\n\n**Default value:** `false`",
|
|
1912
1938
|
"type": "boolean"
|
|
1913
1939
|
},
|
|
1914
1940
|
"offset": {
|
|
@@ -1976,10 +2002,6 @@
|
|
|
1976
2002
|
"description": "Builds and index for efficient rendering of subsets of the data. This setting is useful when rendering large amounts of data and often only a small subset of the data is visible. An example of such a situation is a scatter plot spanning the whole genome.\n\nThis setting implicitly sorts the data by the field assigned on the `x` channel.",
|
|
1977
2003
|
"type": "boolean"
|
|
1978
2004
|
},
|
|
1979
|
-
"contributesToScaleDomain": {
|
|
1980
|
-
"description": "Whether the field or evaluated expr should be included in the scale's domain.\n\n**Default value:** `true`",
|
|
1981
|
-
"type": "boolean"
|
|
1982
|
-
},
|
|
1983
2005
|
"datum": {
|
|
1984
2006
|
"anyOf": [
|
|
1985
2007
|
{
|
|
@@ -1991,6 +2013,10 @@
|
|
|
1991
2013
|
],
|
|
1992
2014
|
"description": "A constant value in data domain."
|
|
1993
2015
|
},
|
|
2016
|
+
"domainInert": {
|
|
2017
|
+
"description": "Whether the field or evaluated expr should be excluded from the scale's domain. Prefer the view-level `domainInert` when an entire subtree should be excluded.\n\n**Default value:** `false`",
|
|
2018
|
+
"type": "boolean"
|
|
2019
|
+
},
|
|
1994
2020
|
"resolutionChannel": {
|
|
1995
2021
|
"$ref": "#/definitions/ChannelWithScale",
|
|
1996
2022
|
"description": "An alternative channel for scale resolution.\n\nThis is mainly for internal use and allows using `color` channel to resolve `fill` and `stroke` channels under certain circumstances."
|
|
@@ -2046,6 +2072,10 @@
|
|
|
2046
2072
|
"description": "Builds and index for efficient rendering of subsets of the data. This setting is useful when rendering large amounts of data and often only a small subset of the data is visible. An example of such a situation is a scatter plot spanning the whole genome.\n\nThis setting implicitly sorts the data by the field assigned on the `x` channel.",
|
|
2047
2073
|
"type": "boolean"
|
|
2048
2074
|
},
|
|
2075
|
+
"domainInert": {
|
|
2076
|
+
"description": "Whether the field or evaluated expr should be excluded from the scale's domain. Prefer the view-level `domainInert` when an entire subtree should be excluded.\n\n**Default value:** `false`",
|
|
2077
|
+
"type": "boolean"
|
|
2078
|
+
},
|
|
2049
2079
|
"expr": {
|
|
2050
2080
|
"description": "An expression. Properties of the data can be accessed through the `datum` object.",
|
|
2051
2081
|
"type": "string"
|
|
@@ -2218,16 +2248,12 @@
|
|
|
2218
2248
|
"FieldName": {
|
|
2219
2249
|
"type": "string"
|
|
2220
2250
|
},
|
|
2221
|
-
"FieldOrDatumDefWithCondition<
|
|
2222
|
-
"additionalProperties":
|
|
2251
|
+
"FieldOrDatumDefWithCondition<MarkPropFieldDef<Type>,(string|null)>": {
|
|
2252
|
+
"additionalProperties": {
|
|
2253
|
+
"not": {}
|
|
2254
|
+
},
|
|
2223
2255
|
"description": "A FieldDef with Condition<ValueDef> { condition: {value: ...}, field: ..., ... }",
|
|
2224
2256
|
"properties": {
|
|
2225
|
-
"band": {
|
|
2226
|
-
"description": "Relative position on band scale. For example, the marks will be positioned at the beginning of the band if set to `0`, and at the middle of the band if set to `0.5`.",
|
|
2227
|
-
"maximum": 1,
|
|
2228
|
-
"minimum": 0,
|
|
2229
|
-
"type": "number"
|
|
2230
|
-
},
|
|
2231
2257
|
"condition": {
|
|
2232
2258
|
"anyOf": [
|
|
2233
2259
|
{
|
|
@@ -2242,20 +2268,13 @@
|
|
|
2242
2268
|
],
|
|
2243
2269
|
"description": "One or more value definition(s) with [a parameter or a test predicate](https://vega.github.io/vega-lite/docs/condition.html).\n\n__Note:__ A field definition's `condition` property can only contain [conditional value definitions](https://vega.github.io/vega-lite/docs/condition.html#value) since Vega-Lite only allows at most one encoded field per encoding channel."
|
|
2244
2270
|
},
|
|
2245
|
-
"
|
|
2246
|
-
"description": "Whether the field or evaluated expr should be
|
|
2271
|
+
"domainInert": {
|
|
2272
|
+
"description": "Whether the field or evaluated expr should be excluded from the scale's domain. Prefer the view-level `domainInert` when an entire subtree should be excluded.\n\n**Default value:** `false`",
|
|
2247
2273
|
"type": "boolean"
|
|
2248
2274
|
},
|
|
2249
|
-
"
|
|
2250
|
-
"
|
|
2251
|
-
|
|
2252
|
-
"$ref": "#/definitions/Scalar"
|
|
2253
|
-
},
|
|
2254
|
-
{
|
|
2255
|
-
"$ref": "#/definitions/ExprRef"
|
|
2256
|
-
}
|
|
2257
|
-
],
|
|
2258
|
-
"description": "A constant value in data domain."
|
|
2275
|
+
"field": {
|
|
2276
|
+
"description": "__Required.__ A string defining the name of the field from which to pull a data value or an object defining iterated values from the [`repeat`](https://vega.github.io/vega-lite/docs/repeat.html) operator.\n\n__See also:__ [`field`](https://vega.github.io/vega-lite/docs/field.html) documentation.\n\n__Notes:__ 1) Dots (`.`) and brackets (`[` and `]`) can be used to access nested objects (e.g., `\"field\": \"foo.bar\"` and `\"field\": \"foo['bar']\"`). If field names contain dots or brackets but are not nested, you can use `\\\\` to escape dots and brackets (e.g., `\"a\\\\.b\"` and `\"a\\\\[0\\\\]\"`). See more details about escaping in the [field documentation](https://vega.github.io/vega-lite/docs/field.html). 2) `field` is not required if `aggregate` is `count`.",
|
|
2277
|
+
"type": "string"
|
|
2259
2278
|
},
|
|
2260
2279
|
"resolutionChannel": {
|
|
2261
2280
|
"$ref": "#/definitions/ChannelWithScale",
|
|
@@ -2283,18 +2302,17 @@
|
|
|
2283
2302
|
"$ref": "#/definitions/Type"
|
|
2284
2303
|
}
|
|
2285
2304
|
},
|
|
2305
|
+
"required": [
|
|
2306
|
+
"type"
|
|
2307
|
+
],
|
|
2286
2308
|
"type": "object"
|
|
2287
2309
|
},
|
|
2288
|
-
"FieldOrDatumDefWithCondition<
|
|
2289
|
-
"additionalProperties":
|
|
2310
|
+
"FieldOrDatumDefWithCondition<MarkPropFieldDef<Type>,number>": {
|
|
2311
|
+
"additionalProperties": {
|
|
2312
|
+
"not": {}
|
|
2313
|
+
},
|
|
2290
2314
|
"description": "A FieldDef with Condition<ValueDef> { condition: {value: ...}, field: ..., ... }",
|
|
2291
2315
|
"properties": {
|
|
2292
|
-
"band": {
|
|
2293
|
-
"description": "Relative position on band scale. For example, the marks will be positioned at the beginning of the band if set to `0`, and at the middle of the band if set to `0.5`.",
|
|
2294
|
-
"maximum": 1,
|
|
2295
|
-
"minimum": 0,
|
|
2296
|
-
"type": "number"
|
|
2297
|
-
},
|
|
2298
2316
|
"condition": {
|
|
2299
2317
|
"anyOf": [
|
|
2300
2318
|
{
|
|
@@ -2309,20 +2327,13 @@
|
|
|
2309
2327
|
],
|
|
2310
2328
|
"description": "One or more value definition(s) with [a parameter or a test predicate](https://vega.github.io/vega-lite/docs/condition.html).\n\n__Note:__ A field definition's `condition` property can only contain [conditional value definitions](https://vega.github.io/vega-lite/docs/condition.html#value) since Vega-Lite only allows at most one encoded field per encoding channel."
|
|
2311
2329
|
},
|
|
2312
|
-
"
|
|
2313
|
-
"description": "Whether the field or evaluated expr should be
|
|
2330
|
+
"domainInert": {
|
|
2331
|
+
"description": "Whether the field or evaluated expr should be excluded from the scale's domain. Prefer the view-level `domainInert` when an entire subtree should be excluded.\n\n**Default value:** `false`",
|
|
2314
2332
|
"type": "boolean"
|
|
2315
2333
|
},
|
|
2316
|
-
"
|
|
2317
|
-
"
|
|
2318
|
-
|
|
2319
|
-
"$ref": "#/definitions/Scalar"
|
|
2320
|
-
},
|
|
2321
|
-
{
|
|
2322
|
-
"$ref": "#/definitions/ExprRef"
|
|
2323
|
-
}
|
|
2324
|
-
],
|
|
2325
|
-
"description": "A constant value in data domain."
|
|
2334
|
+
"field": {
|
|
2335
|
+
"description": "__Required.__ A string defining the name of the field from which to pull a data value or an object defining iterated values from the [`repeat`](https://vega.github.io/vega-lite/docs/repeat.html) operator.\n\n__See also:__ [`field`](https://vega.github.io/vega-lite/docs/field.html) documentation.\n\n__Notes:__ 1) Dots (`.`) and brackets (`[` and `]`) can be used to access nested objects (e.g., `\"field\": \"foo.bar\"` and `\"field\": \"foo['bar']\"`). If field names contain dots or brackets but are not nested, you can use `\\\\` to escape dots and brackets (e.g., `\"a\\\\.b\"` and `\"a\\\\[0\\\\]\"`). See more details about escaping in the [field documentation](https://vega.github.io/vega-lite/docs/field.html). 2) `field` is not required if `aggregate` is `count`.",
|
|
2336
|
+
"type": "string"
|
|
2326
2337
|
},
|
|
2327
2338
|
"resolutionChannel": {
|
|
2328
2339
|
"$ref": "#/definitions/ChannelWithScale",
|
|
@@ -2350,9 +2361,12 @@
|
|
|
2350
2361
|
"$ref": "#/definitions/Type"
|
|
2351
2362
|
}
|
|
2352
2363
|
},
|
|
2364
|
+
"required": [
|
|
2365
|
+
"type"
|
|
2366
|
+
],
|
|
2353
2367
|
"type": "object"
|
|
2354
2368
|
},
|
|
2355
|
-
"FieldOrDatumDefWithCondition<MarkPropFieldDef<
|
|
2369
|
+
"FieldOrDatumDefWithCondition<MarkPropFieldDef<TypeForShape>,(string|null)>": {
|
|
2356
2370
|
"additionalProperties": {
|
|
2357
2371
|
"not": {}
|
|
2358
2372
|
},
|
|
@@ -2372,8 +2386,8 @@
|
|
|
2372
2386
|
],
|
|
2373
2387
|
"description": "One or more value definition(s) with [a parameter or a test predicate](https://vega.github.io/vega-lite/docs/condition.html).\n\n__Note:__ A field definition's `condition` property can only contain [conditional value definitions](https://vega.github.io/vega-lite/docs/condition.html#value) since Vega-Lite only allows at most one encoded field per encoding channel."
|
|
2374
2388
|
},
|
|
2375
|
-
"
|
|
2376
|
-
"description": "Whether the field or evaluated expr should be
|
|
2389
|
+
"domainInert": {
|
|
2390
|
+
"description": "Whether the field or evaluated expr should be excluded from the scale's domain. Prefer the view-level `domainInert` when an entire subtree should be excluded.\n\n**Default value:** `false`",
|
|
2377
2391
|
"type": "boolean"
|
|
2378
2392
|
},
|
|
2379
2393
|
"field": {
|
|
@@ -2403,7 +2417,7 @@
|
|
|
2403
2417
|
]
|
|
2404
2418
|
},
|
|
2405
2419
|
"type": {
|
|
2406
|
-
"$ref": "#/definitions/
|
|
2420
|
+
"$ref": "#/definitions/TypeForShape"
|
|
2407
2421
|
}
|
|
2408
2422
|
},
|
|
2409
2423
|
"required": [
|
|
@@ -2411,33 +2425,44 @@
|
|
|
2411
2425
|
],
|
|
2412
2426
|
"type": "object"
|
|
2413
2427
|
},
|
|
2414
|
-
"FieldOrDatumDefWithCondition<
|
|
2415
|
-
"additionalProperties":
|
|
2416
|
-
"not": {}
|
|
2417
|
-
},
|
|
2428
|
+
"FieldOrDatumDefWithCondition<ScaleDatumDef,(string|null)>": {
|
|
2429
|
+
"additionalProperties": false,
|
|
2418
2430
|
"description": "A FieldDef with Condition<ValueDef> { condition: {value: ...}, field: ..., ... }",
|
|
2419
2431
|
"properties": {
|
|
2432
|
+
"band": {
|
|
2433
|
+
"description": "Relative position on band scale. For example, the marks will be positioned at the beginning of the band if set to `0`, and at the middle of the band if set to `0.5`.",
|
|
2434
|
+
"maximum": 1,
|
|
2435
|
+
"minimum": 0,
|
|
2436
|
+
"type": "number"
|
|
2437
|
+
},
|
|
2420
2438
|
"condition": {
|
|
2421
2439
|
"anyOf": [
|
|
2422
2440
|
{
|
|
2423
|
-
"$ref": "#/definitions/Conditional%3CValueDef%3C(
|
|
2441
|
+
"$ref": "#/definitions/Conditional%3CValueDef%3C(string%7Cnull%7CExprRef)%3E%3E"
|
|
2424
2442
|
},
|
|
2425
2443
|
{
|
|
2426
2444
|
"items": {
|
|
2427
|
-
"$ref": "#/definitions/Conditional%3CValueDef%3C(
|
|
2445
|
+
"$ref": "#/definitions/Conditional%3CValueDef%3C(string%7Cnull%7CExprRef)%3E%3E"
|
|
2428
2446
|
},
|
|
2429
2447
|
"type": "array"
|
|
2430
2448
|
}
|
|
2431
2449
|
],
|
|
2432
2450
|
"description": "One or more value definition(s) with [a parameter or a test predicate](https://vega.github.io/vega-lite/docs/condition.html).\n\n__Note:__ A field definition's `condition` property can only contain [conditional value definitions](https://vega.github.io/vega-lite/docs/condition.html#value) since Vega-Lite only allows at most one encoded field per encoding channel."
|
|
2433
2451
|
},
|
|
2434
|
-
"
|
|
2435
|
-
"
|
|
2436
|
-
|
|
2452
|
+
"datum": {
|
|
2453
|
+
"anyOf": [
|
|
2454
|
+
{
|
|
2455
|
+
"$ref": "#/definitions/Scalar"
|
|
2456
|
+
},
|
|
2457
|
+
{
|
|
2458
|
+
"$ref": "#/definitions/ExprRef"
|
|
2459
|
+
}
|
|
2460
|
+
],
|
|
2461
|
+
"description": "A constant value in data domain."
|
|
2437
2462
|
},
|
|
2438
|
-
"
|
|
2439
|
-
"description": "
|
|
2440
|
-
"type": "
|
|
2463
|
+
"domainInert": {
|
|
2464
|
+
"description": "Whether the field or evaluated expr should be excluded from the scale's domain. Prefer the view-level `domainInert` when an entire subtree should be excluded.\n\n**Default value:** `false`",
|
|
2465
|
+
"type": "boolean"
|
|
2441
2466
|
},
|
|
2442
2467
|
"resolutionChannel": {
|
|
2443
2468
|
"$ref": "#/definitions/ChannelWithScale",
|
|
@@ -2465,38 +2490,46 @@
|
|
|
2465
2490
|
"$ref": "#/definitions/Type"
|
|
2466
2491
|
}
|
|
2467
2492
|
},
|
|
2468
|
-
"required": [
|
|
2469
|
-
"type"
|
|
2470
|
-
],
|
|
2471
2493
|
"type": "object"
|
|
2472
2494
|
},
|
|
2473
|
-
"FieldOrDatumDefWithCondition<
|
|
2474
|
-
"additionalProperties":
|
|
2475
|
-
"not": {}
|
|
2476
|
-
},
|
|
2495
|
+
"FieldOrDatumDefWithCondition<ScaleDatumDef,number>": {
|
|
2496
|
+
"additionalProperties": false,
|
|
2477
2497
|
"description": "A FieldDef with Condition<ValueDef> { condition: {value: ...}, field: ..., ... }",
|
|
2478
2498
|
"properties": {
|
|
2499
|
+
"band": {
|
|
2500
|
+
"description": "Relative position on band scale. For example, the marks will be positioned at the beginning of the band if set to `0`, and at the middle of the band if set to `0.5`.",
|
|
2501
|
+
"maximum": 1,
|
|
2502
|
+
"minimum": 0,
|
|
2503
|
+
"type": "number"
|
|
2504
|
+
},
|
|
2479
2505
|
"condition": {
|
|
2480
2506
|
"anyOf": [
|
|
2481
2507
|
{
|
|
2482
|
-
"$ref": "#/definitions/Conditional%3CValueDef%3C(
|
|
2508
|
+
"$ref": "#/definitions/Conditional%3CValueDef%3C(number%7CExprRef)%3E%3E"
|
|
2483
2509
|
},
|
|
2484
2510
|
{
|
|
2485
2511
|
"items": {
|
|
2486
|
-
"$ref": "#/definitions/Conditional%3CValueDef%3C(
|
|
2512
|
+
"$ref": "#/definitions/Conditional%3CValueDef%3C(number%7CExprRef)%3E%3E"
|
|
2487
2513
|
},
|
|
2488
2514
|
"type": "array"
|
|
2489
2515
|
}
|
|
2490
2516
|
],
|
|
2491
2517
|
"description": "One or more value definition(s) with [a parameter or a test predicate](https://vega.github.io/vega-lite/docs/condition.html).\n\n__Note:__ A field definition's `condition` property can only contain [conditional value definitions](https://vega.github.io/vega-lite/docs/condition.html#value) since Vega-Lite only allows at most one encoded field per encoding channel."
|
|
2492
2518
|
},
|
|
2493
|
-
"
|
|
2494
|
-
"
|
|
2495
|
-
|
|
2519
|
+
"datum": {
|
|
2520
|
+
"anyOf": [
|
|
2521
|
+
{
|
|
2522
|
+
"$ref": "#/definitions/Scalar"
|
|
2523
|
+
},
|
|
2524
|
+
{
|
|
2525
|
+
"$ref": "#/definitions/ExprRef"
|
|
2526
|
+
}
|
|
2527
|
+
],
|
|
2528
|
+
"description": "A constant value in data domain."
|
|
2496
2529
|
},
|
|
2497
|
-
"
|
|
2498
|
-
"description": "
|
|
2499
|
-
"type": "
|
|
2530
|
+
"domainInert": {
|
|
2531
|
+
"description": "Whether the field or evaluated expr should be excluded from the scale's domain. Prefer the view-level `domainInert` when an entire subtree should be excluded.\n\n**Default value:** `false`",
|
|
2532
|
+
"type": "boolean"
|
|
2500
2533
|
},
|
|
2501
2534
|
"resolutionChannel": {
|
|
2502
2535
|
"$ref": "#/definitions/ChannelWithScale",
|
|
@@ -2521,12 +2554,9 @@
|
|
|
2521
2554
|
]
|
|
2522
2555
|
},
|
|
2523
2556
|
"type": {
|
|
2524
|
-
"$ref": "#/definitions/
|
|
2557
|
+
"$ref": "#/definitions/Type"
|
|
2525
2558
|
}
|
|
2526
2559
|
},
|
|
2527
|
-
"required": [
|
|
2528
|
-
"type"
|
|
2529
|
-
],
|
|
2530
2560
|
"type": "object"
|
|
2531
2561
|
},
|
|
2532
2562
|
"FilterParams": {
|
|
@@ -3228,7 +3258,7 @@
|
|
|
3228
3258
|
"type": "string"
|
|
3229
3259
|
},
|
|
3230
3260
|
"configurableVisibility": {
|
|
3231
|
-
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is
|
|
3261
|
+
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is unique within its import scope.\n\n**Default:** `false` for children of `layer`, `true` for others.",
|
|
3232
3262
|
"type": "boolean"
|
|
3233
3263
|
},
|
|
3234
3264
|
"data": {
|
|
@@ -3249,6 +3279,10 @@
|
|
|
3249
3279
|
],
|
|
3250
3280
|
"description": "A description of the view. Can be used for documentation. The description of the top-level view is shown in the toolbar of the [GenomeSpy App](https://genomespy.app/docs/sample-collections/)."
|
|
3251
3281
|
},
|
|
3282
|
+
"domainInert": {
|
|
3283
|
+
"description": "If true, this view and its descendants do not contribute to scale domains. Child views inherit this flag automatically.\n\n**Default value:** `false`",
|
|
3284
|
+
"type": "boolean"
|
|
3285
|
+
},
|
|
3252
3286
|
"encoding": {
|
|
3253
3287
|
"$ref": "#/definitions/Encoding",
|
|
3254
3288
|
"description": "Specifies how data are [encoded](https://genomespy.app/docs/grammar/mark/#encoding) using the visual channels."
|
|
@@ -3286,7 +3320,7 @@
|
|
|
3286
3320
|
"description": "Height of the view. If a number, it is interpreted as pixels. Check [child sizing](https://genomespy.app/docs/grammar/composition/concat/#child-sizing) for details.\n\n**Default value:** `\"container\"`"
|
|
3287
3321
|
},
|
|
3288
3322
|
"name": {
|
|
3289
|
-
"description": "An
|
|
3323
|
+
"description": "An explicit name used to address the view. It is recommended to keep names unique among siblings. In the App (where view state is bookmarkable), the name must be unique within its import scope for views with configurable visibility, etc.",
|
|
3290
3324
|
"type": "string"
|
|
3291
3325
|
},
|
|
3292
3326
|
"padding": {
|
|
@@ -3333,6 +3367,9 @@
|
|
|
3333
3367
|
"fillOpacity": {
|
|
3334
3368
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
3335
3369
|
},
|
|
3370
|
+
"key": {
|
|
3371
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
3372
|
+
},
|
|
3336
3373
|
"opacity": {
|
|
3337
3374
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
3338
3375
|
},
|
|
@@ -3410,6 +3447,9 @@
|
|
|
3410
3447
|
"fillOpacity": {
|
|
3411
3448
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
3412
3449
|
},
|
|
3450
|
+
"key": {
|
|
3451
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
3452
|
+
},
|
|
3413
3453
|
"opacity": {
|
|
3414
3454
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
3415
3455
|
},
|
|
@@ -3461,6 +3501,17 @@
|
|
|
3461
3501
|
},
|
|
3462
3502
|
"type": "object"
|
|
3463
3503
|
},
|
|
3504
|
+
"separator": {
|
|
3505
|
+
"anyOf": [
|
|
3506
|
+
{
|
|
3507
|
+
"type": "boolean"
|
|
3508
|
+
},
|
|
3509
|
+
{
|
|
3510
|
+
"$ref": "#/definitions/SeparatorProps"
|
|
3511
|
+
}
|
|
3512
|
+
],
|
|
3513
|
+
"description": "Draws separator rules between visible child views. The separators are centered within the spacing gaps and do not affect layout.\n\nIf `true`, the defaults are equivalent to: `{\"type\":\"rule\",\"size\":1,\"color\":\"#ccc\",\"opacity\":1,\"strokeDash\":[4,4],\"strokeCap\":\"butt\"}` Use `includePlotMargin` to control whether the separators extend into the plot margin.\n\n__Default value:__ `false`"
|
|
3514
|
+
},
|
|
3464
3515
|
"spacing": {
|
|
3465
3516
|
"description": "The gap between the views, in pixels.",
|
|
3466
3517
|
"type": "number"
|
|
@@ -3596,7 +3647,7 @@
|
|
|
3596
3647
|
"description": "The method to import a specification."
|
|
3597
3648
|
},
|
|
3598
3649
|
"name": {
|
|
3599
|
-
"description": "The name given to the imported view. This property overrides the name specified in the imported specification.",
|
|
3650
|
+
"description": "The name given to the imported view. This property overrides the name specified in the imported specification and defines an import scope that is used for bookmarkable view visibility and parameter addressing.",
|
|
3600
3651
|
"type": "string"
|
|
3601
3652
|
},
|
|
3602
3653
|
"params": {
|
|
@@ -3826,6 +3877,19 @@
|
|
|
3826
3877
|
},
|
|
3827
3878
|
"type": "object"
|
|
3828
3879
|
},
|
|
3880
|
+
"KeyDef": {
|
|
3881
|
+
"anyOf": [
|
|
3882
|
+
{
|
|
3883
|
+
"$ref": "#/definitions/FieldDefWithoutScale"
|
|
3884
|
+
},
|
|
3885
|
+
{
|
|
3886
|
+
"items": {
|
|
3887
|
+
"$ref": "#/definitions/FieldDefWithoutScale"
|
|
3888
|
+
},
|
|
3889
|
+
"type": "array"
|
|
3890
|
+
}
|
|
3891
|
+
]
|
|
3892
|
+
},
|
|
3829
3893
|
"LayerSpec": {
|
|
3830
3894
|
"additionalProperties": false,
|
|
3831
3895
|
"properties": {
|
|
@@ -3848,7 +3912,7 @@
|
|
|
3848
3912
|
"type": "string"
|
|
3849
3913
|
},
|
|
3850
3914
|
"configurableVisibility": {
|
|
3851
|
-
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is
|
|
3915
|
+
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is unique within its import scope.\n\n**Default:** `false` for children of `layer`, `true` for others.",
|
|
3852
3916
|
"type": "boolean"
|
|
3853
3917
|
},
|
|
3854
3918
|
"data": {
|
|
@@ -3869,6 +3933,10 @@
|
|
|
3869
3933
|
],
|
|
3870
3934
|
"description": "A description of the view. Can be used for documentation. The description of the top-level view is shown in the toolbar of the [GenomeSpy App](https://genomespy.app/docs/sample-collections/)."
|
|
3871
3935
|
},
|
|
3936
|
+
"domainInert": {
|
|
3937
|
+
"description": "If true, this view and its descendants do not contribute to scale domains. Child views inherit this flag automatically.\n\n**Default value:** `false`",
|
|
3938
|
+
"type": "boolean"
|
|
3939
|
+
},
|
|
3872
3940
|
"encoding": {
|
|
3873
3941
|
"$ref": "#/definitions/Encoding",
|
|
3874
3942
|
"description": "Specifies how data are [encoded](https://genomespy.app/docs/grammar/mark/#encoding) using the visual channels."
|
|
@@ -3908,7 +3976,7 @@
|
|
|
3908
3976
|
"type": "array"
|
|
3909
3977
|
},
|
|
3910
3978
|
"name": {
|
|
3911
|
-
"description": "An
|
|
3979
|
+
"description": "An explicit name used to address the view. It is recommended to keep names unique among siblings. In the App (where view state is bookmarkable), the name must be unique within its import scope for views with configurable visibility, etc.",
|
|
3912
3980
|
"type": "string"
|
|
3913
3981
|
},
|
|
3914
3982
|
"opacity": {
|
|
@@ -3959,6 +4027,9 @@
|
|
|
3959
4027
|
"fillOpacity": {
|
|
3960
4028
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
3961
4029
|
},
|
|
4030
|
+
"key": {
|
|
4031
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
4032
|
+
},
|
|
3962
4033
|
"opacity": {
|
|
3963
4034
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
3964
4035
|
},
|
|
@@ -4036,6 +4107,9 @@
|
|
|
4036
4107
|
"fillOpacity": {
|
|
4037
4108
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
4038
4109
|
},
|
|
4110
|
+
"key": {
|
|
4111
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
4112
|
+
},
|
|
4039
4113
|
"opacity": {
|
|
4040
4114
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
4041
4115
|
},
|
|
@@ -4545,7 +4619,7 @@
|
|
|
4545
4619
|
"$ref": "#/definitions/FieldOrDatumDefWithCondition%3CMarkPropFieldDef%3CTypeForShape%3E%2C(string%7Cnull)%3E"
|
|
4546
4620
|
},
|
|
4547
4621
|
{
|
|
4548
|
-
"$ref": "#/definitions/FieldOrDatumDefWithCondition%
|
|
4622
|
+
"$ref": "#/definitions/FieldOrDatumDefWithCondition%3CScaleDatumDef%2C(string%7Cnull)%3E"
|
|
4549
4623
|
},
|
|
4550
4624
|
{
|
|
4551
4625
|
"$ref": "#/definitions/ValueDefWithCondition%3C(string%7Cnull)%3E"
|
|
@@ -4558,7 +4632,7 @@
|
|
|
4558
4632
|
"$ref": "#/definitions/FieldOrDatumDefWithCondition%3CMarkPropFieldDef%3CType%3E%2C(string%7Cnull)%3E"
|
|
4559
4633
|
},
|
|
4560
4634
|
{
|
|
4561
|
-
"$ref": "#/definitions/FieldOrDatumDefWithCondition%
|
|
4635
|
+
"$ref": "#/definitions/FieldOrDatumDefWithCondition%3CScaleDatumDef%2C(string%7Cnull)%3E"
|
|
4562
4636
|
},
|
|
4563
4637
|
{
|
|
4564
4638
|
"$ref": "#/definitions/ValueDefWithCondition%3C(string%7Cnull)%3E"
|
|
@@ -4571,7 +4645,7 @@
|
|
|
4571
4645
|
"$ref": "#/definitions/FieldOrDatumDefWithCondition%3CMarkPropFieldDef%3CType%3E%2Cnumber%3E"
|
|
4572
4646
|
},
|
|
4573
4647
|
{
|
|
4574
|
-
"$ref": "#/definitions/FieldOrDatumDefWithCondition%
|
|
4648
|
+
"$ref": "#/definitions/FieldOrDatumDefWithCondition%3CScaleDatumDef%2Cnumber%3E"
|
|
4575
4649
|
},
|
|
4576
4650
|
{
|
|
4577
4651
|
"$ref": "#/definitions/ValueDefWithCondition%3Cnumber%3E"
|
|
@@ -5090,6 +5164,10 @@
|
|
|
5090
5164
|
"minimum": 0,
|
|
5091
5165
|
"type": "number"
|
|
5092
5166
|
},
|
|
5167
|
+
"domainInert": {
|
|
5168
|
+
"description": "Whether the field or evaluated expr should be excluded from the scale's domain. Prefer the view-level `domainInert` when an entire subtree should be excluded.\n\n**Default value:** `false`",
|
|
5169
|
+
"type": "boolean"
|
|
5170
|
+
},
|
|
5093
5171
|
"field": {
|
|
5094
5172
|
"description": "__Required.__ A string defining the name of the field from which to pull a data value or an object defining iterated values from the [`repeat`](https://vega.github.io/vega-lite/docs/repeat.html) operator.\n\n__See also:__ [`field`](https://vega.github.io/vega-lite/docs/field.html) documentation.\n\n__Notes:__ 1) Dots (`.`) and brackets (`[` and `]`) can be used to access nested objects (e.g., `\"field\": \"foo.bar\"` and `\"field\": \"foo['bar']\"`). If field names contain dots or brackets but are not nested, you can use `\\\\` to escape dots and brackets (e.g., `\"a\\\\.b\"` and `\"a\\\\[0\\\\]\"`). See more details about escaping in the [field documentation](https://vega.github.io/vega-lite/docs/field.html). 2) `field` is not required if `aggregate` is `count`.",
|
|
5095
5173
|
"type": "string"
|
|
@@ -5116,10 +5194,6 @@
|
|
|
5116
5194
|
"minimum": 0,
|
|
5117
5195
|
"type": "number"
|
|
5118
5196
|
},
|
|
5119
|
-
"contributesToScaleDomain": {
|
|
5120
|
-
"description": "Whether the field or evaluated expr should be included in the scale's domain.\n\n**Default value:** `true`",
|
|
5121
|
-
"type": "boolean"
|
|
5122
|
-
},
|
|
5123
5197
|
"datum": {
|
|
5124
5198
|
"anyOf": [
|
|
5125
5199
|
{
|
|
@@ -5131,6 +5205,10 @@
|
|
|
5131
5205
|
],
|
|
5132
5206
|
"description": "A constant value in data domain."
|
|
5133
5207
|
},
|
|
5208
|
+
"domainInert": {
|
|
5209
|
+
"description": "Whether the field or evaluated expr should be excluded from the scale's domain. Prefer the view-level `domainInert` when an entire subtree should be excluded.\n\n**Default value:** `false`",
|
|
5210
|
+
"type": "boolean"
|
|
5211
|
+
},
|
|
5134
5212
|
"resolutionChannel": {
|
|
5135
5213
|
"$ref": "#/definitions/ChannelWithScale",
|
|
5136
5214
|
"description": "An alternative channel for scale resolution.\n\nThis is mainly for internal use and allows using `color` channel to resolve `fill` and `stroke` channels under certain circumstances."
|
|
@@ -5168,6 +5246,10 @@
|
|
|
5168
5246
|
"minimum": 0,
|
|
5169
5247
|
"type": "number"
|
|
5170
5248
|
},
|
|
5249
|
+
"domainInert": {
|
|
5250
|
+
"description": "Whether the field or evaluated expr should be excluded from the scale's domain. Prefer the view-level `domainInert` when an entire subtree should be excluded.\n\n**Default value:** `false`",
|
|
5251
|
+
"type": "boolean"
|
|
5252
|
+
},
|
|
5171
5253
|
"expr": {
|
|
5172
5254
|
"description": "An expression. Properties of the data can be accessed through the `datum` object.",
|
|
5173
5255
|
"type": "string"
|
|
@@ -5213,10 +5295,6 @@
|
|
|
5213
5295
|
"minimum": 0,
|
|
5214
5296
|
"type": "number"
|
|
5215
5297
|
},
|
|
5216
|
-
"contributesToScaleDomain": {
|
|
5217
|
-
"description": "Whether the field or evaluated expr should be included in the scale's domain.\n\n**Default value:** `true`",
|
|
5218
|
-
"type": "boolean"
|
|
5219
|
-
},
|
|
5220
5298
|
"datum": {
|
|
5221
5299
|
"anyOf": [
|
|
5222
5300
|
{
|
|
@@ -5228,6 +5306,10 @@
|
|
|
5228
5306
|
],
|
|
5229
5307
|
"description": "A constant value in data domain."
|
|
5230
5308
|
},
|
|
5309
|
+
"domainInert": {
|
|
5310
|
+
"description": "Whether the field or evaluated expr should be excluded from the scale's domain. Prefer the view-level `domainInert` when an entire subtree should be excluded.\n\n**Default value:** `false`",
|
|
5311
|
+
"type": "boolean"
|
|
5312
|
+
},
|
|
5231
5313
|
"resolutionChannel": {
|
|
5232
5314
|
"$ref": "#/definitions/ChannelWithScale",
|
|
5233
5315
|
"description": "An alternative channel for scale resolution.\n\nThis is mainly for internal use and allows using `color` channel to resolve `fill` and `stroke` channels under certain circumstances."
|
|
@@ -5298,6 +5380,10 @@
|
|
|
5298
5380
|
"minimum": 0,
|
|
5299
5381
|
"type": "number"
|
|
5300
5382
|
},
|
|
5383
|
+
"domainInert": {
|
|
5384
|
+
"description": "Whether the field or evaluated expr should be excluded from the scale's domain. Prefer the view-level `domainInert` when an entire subtree should be excluded.\n\n**Default value:** `false`",
|
|
5385
|
+
"type": "boolean"
|
|
5386
|
+
},
|
|
5301
5387
|
"expr": {
|
|
5302
5388
|
"description": "An expression. Properties of the data can be accessed through the `datum` object.",
|
|
5303
5389
|
"type": "string"
|
|
@@ -5339,8 +5425,8 @@
|
|
|
5339
5425
|
"minimum": 0,
|
|
5340
5426
|
"type": "number"
|
|
5341
5427
|
},
|
|
5342
|
-
"
|
|
5343
|
-
"description": "Whether the field or evaluated expr should be
|
|
5428
|
+
"domainInert": {
|
|
5429
|
+
"description": "Whether the field or evaluated expr should be excluded from the scale's domain. Prefer the view-level `domainInert` when an entire subtree should be excluded.\n\n**Default value:** `false`",
|
|
5344
5430
|
"type": "boolean"
|
|
5345
5431
|
},
|
|
5346
5432
|
"field": {
|
|
@@ -5920,7 +6006,7 @@
|
|
|
5920
6006
|
"type": "string"
|
|
5921
6007
|
},
|
|
5922
6008
|
"configurableVisibility": {
|
|
5923
|
-
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is
|
|
6009
|
+
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is unique within its import scope.\n\n**Default:** `false` for children of `layer`, `true` for others.",
|
|
5924
6010
|
"type": "boolean"
|
|
5925
6011
|
},
|
|
5926
6012
|
"data": {
|
|
@@ -5949,6 +6035,10 @@
|
|
|
5949
6035
|
],
|
|
5950
6036
|
"description": "A description of the view. Can be used for documentation. The description of the top-level view is shown in the toolbar of the [GenomeSpy App](https://genomespy.app/docs/sample-collections/)."
|
|
5951
6037
|
},
|
|
6038
|
+
"domainInert": {
|
|
6039
|
+
"description": "If true, this view and its descendants do not contribute to scale domains. Child views inherit this flag automatically.\n\n**Default value:** `false`",
|
|
6040
|
+
"type": "boolean"
|
|
6041
|
+
},
|
|
5952
6042
|
"encoding": {
|
|
5953
6043
|
"$ref": "#/definitions/Encoding",
|
|
5954
6044
|
"description": "Specifies how data are [encoded](https://genomespy.app/docs/grammar/mark/#encoding) using the visual channels."
|
|
@@ -5986,7 +6076,7 @@
|
|
|
5986
6076
|
"description": "The graphical mark presenting the data objects."
|
|
5987
6077
|
},
|
|
5988
6078
|
"name": {
|
|
5989
|
-
"description": "An
|
|
6079
|
+
"description": "An explicit name used to address the view. It is recommended to keep names unique among siblings. In the App (where view state is bookmarkable), the name must be unique within its import scope for views with configurable visibility, etc.",
|
|
5990
6080
|
"type": "string"
|
|
5991
6081
|
},
|
|
5992
6082
|
"opacity": {
|
|
@@ -6037,6 +6127,9 @@
|
|
|
6037
6127
|
"fillOpacity": {
|
|
6038
6128
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
6039
6129
|
},
|
|
6130
|
+
"key": {
|
|
6131
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
6132
|
+
},
|
|
6040
6133
|
"opacity": {
|
|
6041
6134
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
6042
6135
|
},
|
|
@@ -6114,6 +6207,9 @@
|
|
|
6114
6207
|
"fillOpacity": {
|
|
6115
6208
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
6116
6209
|
},
|
|
6210
|
+
"key": {
|
|
6211
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
6212
|
+
},
|
|
6117
6213
|
"opacity": {
|
|
6118
6214
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
6119
6215
|
},
|
|
@@ -6281,7 +6377,7 @@
|
|
|
6281
6377
|
"type": "string"
|
|
6282
6378
|
},
|
|
6283
6379
|
"configurableVisibility": {
|
|
6284
|
-
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is
|
|
6380
|
+
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is unique within its import scope.\n\n**Default:** `false` for children of `layer`, `true` for others.",
|
|
6285
6381
|
"type": "boolean"
|
|
6286
6382
|
},
|
|
6287
6383
|
"data": {
|
|
@@ -6310,6 +6406,10 @@
|
|
|
6310
6406
|
],
|
|
6311
6407
|
"description": "A description of the view. Can be used for documentation. The description of the top-level view is shown in the toolbar of the [GenomeSpy App](https://genomespy.app/docs/sample-collections/)."
|
|
6312
6408
|
},
|
|
6409
|
+
"domainInert": {
|
|
6410
|
+
"description": "If true, this view and its descendants do not contribute to scale domains. Child views inherit this flag automatically.\n\n**Default value:** `false`",
|
|
6411
|
+
"type": "boolean"
|
|
6412
|
+
},
|
|
6313
6413
|
"encoding": {
|
|
6314
6414
|
"$ref": "#/definitions/Encoding",
|
|
6315
6415
|
"description": "Specifies how data are [encoded](https://genomespy.app/docs/grammar/mark/#encoding) using the visual channels."
|
|
@@ -6352,7 +6452,7 @@
|
|
|
6352
6452
|
"type": "array"
|
|
6353
6453
|
},
|
|
6354
6454
|
"name": {
|
|
6355
|
-
"description": "An
|
|
6455
|
+
"description": "An explicit name used to address the view. It is recommended to keep names unique among siblings. In the App (where view state is bookmarkable), the name must be unique within its import scope for views with configurable visibility, etc.",
|
|
6356
6456
|
"type": "string"
|
|
6357
6457
|
},
|
|
6358
6458
|
"opacity": {
|
|
@@ -6403,6 +6503,9 @@
|
|
|
6403
6503
|
"fillOpacity": {
|
|
6404
6504
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
6405
6505
|
},
|
|
6506
|
+
"key": {
|
|
6507
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
6508
|
+
},
|
|
6406
6509
|
"opacity": {
|
|
6407
6510
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
6408
6511
|
},
|
|
@@ -6480,6 +6583,9 @@
|
|
|
6480
6583
|
"fillOpacity": {
|
|
6481
6584
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
6482
6585
|
},
|
|
6586
|
+
"key": {
|
|
6587
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
6588
|
+
},
|
|
6483
6589
|
"opacity": {
|
|
6484
6590
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
6485
6591
|
},
|
|
@@ -6632,7 +6738,7 @@
|
|
|
6632
6738
|
"type": "string"
|
|
6633
6739
|
},
|
|
6634
6740
|
"configurableVisibility": {
|
|
6635
|
-
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is
|
|
6741
|
+
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is unique within its import scope.\n\n**Default:** `false` for children of `layer`, `true` for others.",
|
|
6636
6742
|
"type": "boolean"
|
|
6637
6743
|
},
|
|
6638
6744
|
"data": {
|
|
@@ -6661,6 +6767,10 @@
|
|
|
6661
6767
|
],
|
|
6662
6768
|
"description": "A description of the view. Can be used for documentation. The description of the top-level view is shown in the toolbar of the [GenomeSpy App](https://genomespy.app/docs/sample-collections/)."
|
|
6663
6769
|
},
|
|
6770
|
+
"domainInert": {
|
|
6771
|
+
"description": "If true, this view and its descendants do not contribute to scale domains. Child views inherit this flag automatically.\n\n**Default value:** `false`",
|
|
6772
|
+
"type": "boolean"
|
|
6773
|
+
},
|
|
6664
6774
|
"encoding": {
|
|
6665
6775
|
"$ref": "#/definitions/Encoding",
|
|
6666
6776
|
"description": "Specifies how data are [encoded](https://genomespy.app/docs/grammar/mark/#encoding) using the visual channels."
|
|
@@ -6687,7 +6797,7 @@
|
|
|
6687
6797
|
"description": "Height of the view. If a number, it is interpreted as pixels. Check [child sizing](https://genomespy.app/docs/grammar/composition/concat/#child-sizing) for details.\n\n**Default value:** `\"container\"`"
|
|
6688
6798
|
},
|
|
6689
6799
|
"name": {
|
|
6690
|
-
"description": "An
|
|
6800
|
+
"description": "An explicit name used to address the view. It is recommended to keep names unique among siblings. In the App (where view state is bookmarkable), the name must be unique within its import scope for views with configurable visibility, etc.",
|
|
6691
6801
|
"type": "string"
|
|
6692
6802
|
},
|
|
6693
6803
|
"padding": {
|
|
@@ -6734,6 +6844,9 @@
|
|
|
6734
6844
|
"fillOpacity": {
|
|
6735
6845
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
6736
6846
|
},
|
|
6847
|
+
"key": {
|
|
6848
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
6849
|
+
},
|
|
6737
6850
|
"opacity": {
|
|
6738
6851
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
6739
6852
|
},
|
|
@@ -6811,6 +6924,9 @@
|
|
|
6811
6924
|
"fillOpacity": {
|
|
6812
6925
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
6813
6926
|
},
|
|
6927
|
+
"key": {
|
|
6928
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
6929
|
+
},
|
|
6814
6930
|
"opacity": {
|
|
6815
6931
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
6816
6932
|
},
|
|
@@ -6862,6 +6978,17 @@
|
|
|
6862
6978
|
},
|
|
6863
6979
|
"type": "object"
|
|
6864
6980
|
},
|
|
6981
|
+
"separator": {
|
|
6982
|
+
"anyOf": [
|
|
6983
|
+
{
|
|
6984
|
+
"type": "boolean"
|
|
6985
|
+
},
|
|
6986
|
+
{
|
|
6987
|
+
"$ref": "#/definitions/SeparatorProps"
|
|
6988
|
+
}
|
|
6989
|
+
],
|
|
6990
|
+
"description": "Draws separator rules between visible child views. The separators are centered within the spacing gaps and do not affect layout.\n\nIf `true`, the defaults are equivalent to: `{\"type\":\"rule\",\"size\":1,\"color\":\"#ccc\",\"opacity\":1,\"strokeDash\":[4,4],\"strokeCap\":\"butt\"}` Use `includePlotMargin` to control whether the separators extend into the plot margin.\n\n__Default value:__ `false`"
|
|
6991
|
+
},
|
|
6865
6992
|
"spacing": {
|
|
6866
6993
|
"description": "The gap between the views, in pixels.",
|
|
6867
6994
|
"type": "number"
|
|
@@ -6978,7 +7105,7 @@
|
|
|
6978
7105
|
"type": "string"
|
|
6979
7106
|
},
|
|
6980
7107
|
"configurableVisibility": {
|
|
6981
|
-
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is
|
|
7108
|
+
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is unique within its import scope.\n\n**Default:** `false` for children of `layer`, `true` for others.",
|
|
6982
7109
|
"type": "boolean"
|
|
6983
7110
|
},
|
|
6984
7111
|
"data": {
|
|
@@ -7007,6 +7134,10 @@
|
|
|
7007
7134
|
],
|
|
7008
7135
|
"description": "A description of the view. Can be used for documentation. The description of the top-level view is shown in the toolbar of the [GenomeSpy App](https://genomespy.app/docs/sample-collections/)."
|
|
7009
7136
|
},
|
|
7137
|
+
"domainInert": {
|
|
7138
|
+
"description": "If true, this view and its descendants do not contribute to scale domains. Child views inherit this flag automatically.\n\n**Default value:** `false`",
|
|
7139
|
+
"type": "boolean"
|
|
7140
|
+
},
|
|
7010
7141
|
"encoding": {
|
|
7011
7142
|
"$ref": "#/definitions/Encoding",
|
|
7012
7143
|
"description": "Specifies how data are [encoded](https://genomespy.app/docs/grammar/mark/#encoding) using the visual channels."
|
|
@@ -7047,7 +7178,7 @@
|
|
|
7047
7178
|
"description": "Height of the view. If a number, it is interpreted as pixels. Check [child sizing](https://genomespy.app/docs/grammar/composition/concat/#child-sizing) for details.\n\n**Default value:** `\"container\"`"
|
|
7048
7179
|
},
|
|
7049
7180
|
"name": {
|
|
7050
|
-
"description": "An
|
|
7181
|
+
"description": "An explicit name used to address the view. It is recommended to keep names unique among siblings. In the App (where view state is bookmarkable), the name must be unique within its import scope for views with configurable visibility, etc.",
|
|
7051
7182
|
"type": "string"
|
|
7052
7183
|
},
|
|
7053
7184
|
"padding": {
|
|
@@ -7094,6 +7225,9 @@
|
|
|
7094
7225
|
"fillOpacity": {
|
|
7095
7226
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
7096
7227
|
},
|
|
7228
|
+
"key": {
|
|
7229
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
7230
|
+
},
|
|
7097
7231
|
"opacity": {
|
|
7098
7232
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
7099
7233
|
},
|
|
@@ -7171,6 +7305,9 @@
|
|
|
7171
7305
|
"fillOpacity": {
|
|
7172
7306
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
7173
7307
|
},
|
|
7308
|
+
"key": {
|
|
7309
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
7310
|
+
},
|
|
7174
7311
|
"opacity": {
|
|
7175
7312
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
7176
7313
|
},
|
|
@@ -7222,6 +7359,17 @@
|
|
|
7222
7359
|
},
|
|
7223
7360
|
"type": "object"
|
|
7224
7361
|
},
|
|
7362
|
+
"separator": {
|
|
7363
|
+
"anyOf": [
|
|
7364
|
+
{
|
|
7365
|
+
"type": "boolean"
|
|
7366
|
+
},
|
|
7367
|
+
{
|
|
7368
|
+
"$ref": "#/definitions/SeparatorProps"
|
|
7369
|
+
}
|
|
7370
|
+
],
|
|
7371
|
+
"description": "Draws separator rules between visible child views. The separators are centered within the spacing gaps and do not affect layout.\n\nIf `true`, the defaults are equivalent to: `{\"type\":\"rule\",\"size\":1,\"color\":\"#ccc\",\"opacity\":1,\"strokeDash\":[4,4],\"strokeCap\":\"butt\"}` Use `includePlotMargin` to control whether the separators extend into the plot margin.\n\n__Default value:__ `false`"
|
|
7372
|
+
},
|
|
7225
7373
|
"spacing": {
|
|
7226
7374
|
"description": "The gap between the views, in pixels.",
|
|
7227
7375
|
"type": "number"
|
|
@@ -7342,7 +7490,7 @@
|
|
|
7342
7490
|
"type": "array"
|
|
7343
7491
|
},
|
|
7344
7492
|
"configurableVisibility": {
|
|
7345
|
-
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is
|
|
7493
|
+
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is unique within its import scope.\n\n**Default:** `false` for children of `layer`, `true` for others.",
|
|
7346
7494
|
"type": "boolean"
|
|
7347
7495
|
},
|
|
7348
7496
|
"data": {
|
|
@@ -7371,6 +7519,10 @@
|
|
|
7371
7519
|
],
|
|
7372
7520
|
"description": "A description of the view. Can be used for documentation. The description of the top-level view is shown in the toolbar of the [GenomeSpy App](https://genomespy.app/docs/sample-collections/)."
|
|
7373
7521
|
},
|
|
7522
|
+
"domainInert": {
|
|
7523
|
+
"description": "If true, this view and its descendants do not contribute to scale domains. Child views inherit this flag automatically.\n\n**Default value:** `false`",
|
|
7524
|
+
"type": "boolean"
|
|
7525
|
+
},
|
|
7374
7526
|
"encoding": {
|
|
7375
7527
|
"$ref": "#/definitions/Encoding",
|
|
7376
7528
|
"description": "Specifies how data are [encoded](https://genomespy.app/docs/grammar/mark/#encoding) using the visual channels."
|
|
@@ -7397,7 +7549,7 @@
|
|
|
7397
7549
|
"description": "Height of the view. If a number, it is interpreted as pixels. Check [child sizing](https://genomespy.app/docs/grammar/composition/concat/#child-sizing) for details.\n\n**Default value:** `\"container\"`"
|
|
7398
7550
|
},
|
|
7399
7551
|
"name": {
|
|
7400
|
-
"description": "An
|
|
7552
|
+
"description": "An explicit name used to address the view. It is recommended to keep names unique among siblings. In the App (where view state is bookmarkable), the name must be unique within its import scope for views with configurable visibility, etc.",
|
|
7401
7553
|
"type": "string"
|
|
7402
7554
|
},
|
|
7403
7555
|
"padding": {
|
|
@@ -7444,6 +7596,9 @@
|
|
|
7444
7596
|
"fillOpacity": {
|
|
7445
7597
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
7446
7598
|
},
|
|
7599
|
+
"key": {
|
|
7600
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
7601
|
+
},
|
|
7447
7602
|
"opacity": {
|
|
7448
7603
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
7449
7604
|
},
|
|
@@ -7521,6 +7676,9 @@
|
|
|
7521
7676
|
"fillOpacity": {
|
|
7522
7677
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
7523
7678
|
},
|
|
7679
|
+
"key": {
|
|
7680
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
7681
|
+
},
|
|
7524
7682
|
"opacity": {
|
|
7525
7683
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
7526
7684
|
},
|
|
@@ -7572,6 +7730,17 @@
|
|
|
7572
7730
|
},
|
|
7573
7731
|
"type": "object"
|
|
7574
7732
|
},
|
|
7733
|
+
"separator": {
|
|
7734
|
+
"anyOf": [
|
|
7735
|
+
{
|
|
7736
|
+
"type": "boolean"
|
|
7737
|
+
},
|
|
7738
|
+
{
|
|
7739
|
+
"$ref": "#/definitions/SeparatorProps"
|
|
7740
|
+
}
|
|
7741
|
+
],
|
|
7742
|
+
"description": "Draws separator rules between visible child views. The separators are centered within the spacing gaps and do not affect layout.\n\nIf `true`, the defaults are equivalent to: `{\"type\":\"rule\",\"size\":1,\"color\":\"#ccc\",\"opacity\":1,\"strokeDash\":[4,4],\"strokeCap\":\"butt\"}` Use `includePlotMargin` to control whether the separators extend into the plot margin.\n\n__Default value:__ `false`"
|
|
7743
|
+
},
|
|
7575
7744
|
"spacing": {
|
|
7576
7745
|
"description": "The gap between the views, in pixels.",
|
|
7577
7746
|
"type": "number"
|
|
@@ -7675,7 +7844,7 @@
|
|
|
7675
7844
|
"type": "string"
|
|
7676
7845
|
},
|
|
7677
7846
|
"configurableVisibility": {
|
|
7678
|
-
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is
|
|
7847
|
+
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is unique within its import scope.\n\n**Default:** `false` for children of `layer`, `true` for others.",
|
|
7679
7848
|
"type": "boolean"
|
|
7680
7849
|
},
|
|
7681
7850
|
"data": {
|
|
@@ -7704,6 +7873,10 @@
|
|
|
7704
7873
|
],
|
|
7705
7874
|
"description": "A description of the view. Can be used for documentation. The description of the top-level view is shown in the toolbar of the [GenomeSpy App](https://genomespy.app/docs/sample-collections/)."
|
|
7706
7875
|
},
|
|
7876
|
+
"domainInert": {
|
|
7877
|
+
"description": "If true, this view and its descendants do not contribute to scale domains. Child views inherit this flag automatically.\n\n**Default value:** `false`",
|
|
7878
|
+
"type": "boolean"
|
|
7879
|
+
},
|
|
7707
7880
|
"encoding": {
|
|
7708
7881
|
"$ref": "#/definitions/Encoding",
|
|
7709
7882
|
"description": "Specifies how data are [encoded](https://genomespy.app/docs/grammar/mark/#encoding) using the visual channels."
|
|
@@ -7730,7 +7903,7 @@
|
|
|
7730
7903
|
"description": "Height of the view. If a number, it is interpreted as pixels. Check [child sizing](https://genomespy.app/docs/grammar/composition/concat/#child-sizing) for details.\n\n**Default value:** `\"container\"`"
|
|
7731
7904
|
},
|
|
7732
7905
|
"name": {
|
|
7733
|
-
"description": "An
|
|
7906
|
+
"description": "An explicit name used to address the view. It is recommended to keep names unique among siblings. In the App (where view state is bookmarkable), the name must be unique within its import scope for views with configurable visibility, etc.",
|
|
7734
7907
|
"type": "string"
|
|
7735
7908
|
},
|
|
7736
7909
|
"padding": {
|
|
@@ -7777,6 +7950,9 @@
|
|
|
7777
7950
|
"fillOpacity": {
|
|
7778
7951
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
7779
7952
|
},
|
|
7953
|
+
"key": {
|
|
7954
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
7955
|
+
},
|
|
7780
7956
|
"opacity": {
|
|
7781
7957
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
7782
7958
|
},
|
|
@@ -7854,6 +8030,9 @@
|
|
|
7854
8030
|
"fillOpacity": {
|
|
7855
8031
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
7856
8032
|
},
|
|
8033
|
+
"key": {
|
|
8034
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
8035
|
+
},
|
|
7857
8036
|
"opacity": {
|
|
7858
8037
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
7859
8038
|
},
|
|
@@ -8315,7 +8494,7 @@
|
|
|
8315
8494
|
"type": "string"
|
|
8316
8495
|
},
|
|
8317
8496
|
"configurableVisibility": {
|
|
8318
|
-
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is
|
|
8497
|
+
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is unique within its import scope.\n\n**Default:** `false` for children of `layer`, `true` for others.",
|
|
8319
8498
|
"type": "boolean"
|
|
8320
8499
|
},
|
|
8321
8500
|
"data": {
|
|
@@ -8336,6 +8515,10 @@
|
|
|
8336
8515
|
],
|
|
8337
8516
|
"description": "A description of the view. Can be used for documentation. The description of the top-level view is shown in the toolbar of the [GenomeSpy App](https://genomespy.app/docs/sample-collections/)."
|
|
8338
8517
|
},
|
|
8518
|
+
"domainInert": {
|
|
8519
|
+
"description": "If true, this view and its descendants do not contribute to scale domains. Child views inherit this flag automatically.\n\n**Default value:** `false`",
|
|
8520
|
+
"type": "boolean"
|
|
8521
|
+
},
|
|
8339
8522
|
"encoding": {
|
|
8340
8523
|
"$ref": "#/definitions/Encoding",
|
|
8341
8524
|
"description": "Specifies how data are [encoded](https://genomespy.app/docs/grammar/mark/#encoding) using the visual channels."
|
|
@@ -8359,7 +8542,7 @@
|
|
|
8359
8542
|
"description": "Height of the view. If a number, it is interpreted as pixels. Check [child sizing](https://genomespy.app/docs/grammar/composition/concat/#child-sizing) for details.\n\n**Default value:** `\"container\"`"
|
|
8360
8543
|
},
|
|
8361
8544
|
"name": {
|
|
8362
|
-
"description": "An
|
|
8545
|
+
"description": "An explicit name used to address the view. It is recommended to keep names unique among siblings. In the App (where view state is bookmarkable), the name must be unique within its import scope for views with configurable visibility, etc.",
|
|
8363
8546
|
"type": "string"
|
|
8364
8547
|
},
|
|
8365
8548
|
"padding": {
|
|
@@ -8406,6 +8589,9 @@
|
|
|
8406
8589
|
"fillOpacity": {
|
|
8407
8590
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
8408
8591
|
},
|
|
8592
|
+
"key": {
|
|
8593
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
8594
|
+
},
|
|
8409
8595
|
"opacity": {
|
|
8410
8596
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
8411
8597
|
},
|
|
@@ -8483,6 +8669,9 @@
|
|
|
8483
8669
|
"fillOpacity": {
|
|
8484
8670
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
8485
8671
|
},
|
|
8672
|
+
"key": {
|
|
8673
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
8674
|
+
},
|
|
8486
8675
|
"opacity": {
|
|
8487
8676
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
8488
8677
|
},
|
|
@@ -8926,6 +9115,19 @@
|
|
|
8926
9115
|
],
|
|
8927
9116
|
"type": "object"
|
|
8928
9117
|
},
|
|
9118
|
+
"SearchDef": {
|
|
9119
|
+
"anyOf": [
|
|
9120
|
+
{
|
|
9121
|
+
"$ref": "#/definitions/FieldDefWithoutScale"
|
|
9122
|
+
},
|
|
9123
|
+
{
|
|
9124
|
+
"items": {
|
|
9125
|
+
"$ref": "#/definitions/FieldDefWithoutScale"
|
|
9126
|
+
},
|
|
9127
|
+
"type": "array"
|
|
9128
|
+
}
|
|
9129
|
+
]
|
|
9130
|
+
},
|
|
8929
9131
|
"SecondaryChromPosDef": {
|
|
8930
9132
|
"additionalProperties": false,
|
|
8931
9133
|
"properties": {
|
|
@@ -8950,6 +9152,10 @@
|
|
|
8950
9152
|
"$ref": "#/definitions/FieldName",
|
|
8951
9153
|
"description": "The field having the chromosome or contig."
|
|
8952
9154
|
},
|
|
9155
|
+
"domainInert": {
|
|
9156
|
+
"description": "Whether the field or evaluated expr should be excluded from the scale's domain. Prefer the view-level `domainInert` when an entire subtree should be excluded.\n\n**Default value:** `false`",
|
|
9157
|
+
"type": "boolean"
|
|
9158
|
+
},
|
|
8953
9159
|
"offset": {
|
|
8954
9160
|
"description": "An offset or offsets that allow for adjusting the numbering base. The offset is subtracted from the positions.\n\nGenomeSpy uses internally zero-based indexing with half-open intervals. UCSC-based formats (BED, etc.) generally use this scheme. However, for example, VCF files use one-based indexing and must be adjusted by setting the offset to `1`.\n\n**Default:** `0`",
|
|
8955
9161
|
"type": "number"
|
|
@@ -9051,6 +9257,10 @@
|
|
|
9051
9257
|
"description": "A unique name for the variable parameter. Parameter names should be valid JavaScript identifiers: they should contain only alphanumeric characters (or \"$\", or \"_\") and may not start with a digit. Reserved keywords that may not be used as parameter names are: \"datum\".",
|
|
9052
9258
|
"type": "string"
|
|
9053
9259
|
},
|
|
9260
|
+
"persist": {
|
|
9261
|
+
"description": "Whether the parameter should be persisted in bookmarks and provenance.\n\nThis primarily affects GenomeSpy App behavior. Set to `false` for ephemeral params (e.g., hover selections) or when the selection cannot be persisted due to missing `encoding.key`.\n\n__Default value:__ `true`",
|
|
9262
|
+
"type": "boolean"
|
|
9263
|
+
},
|
|
9054
9264
|
"push": {
|
|
9055
9265
|
"const": "outer",
|
|
9056
9266
|
"type": "string"
|
|
@@ -9087,6 +9297,167 @@
|
|
|
9087
9297
|
],
|
|
9088
9298
|
"type": "string"
|
|
9089
9299
|
},
|
|
9300
|
+
"SeparatorProps": {
|
|
9301
|
+
"additionalProperties": false,
|
|
9302
|
+
"properties": {
|
|
9303
|
+
"clip": {
|
|
9304
|
+
"anyOf": [
|
|
9305
|
+
{
|
|
9306
|
+
"type": "boolean"
|
|
9307
|
+
},
|
|
9308
|
+
{
|
|
9309
|
+
"const": "never",
|
|
9310
|
+
"type": "string"
|
|
9311
|
+
}
|
|
9312
|
+
],
|
|
9313
|
+
"description": "If true, the mark is clipped to the UnitView's rectangle. By default, clipping is enabled for marks that have zoomable positional scales."
|
|
9314
|
+
},
|
|
9315
|
+
"color": {
|
|
9316
|
+
"anyOf": [
|
|
9317
|
+
{
|
|
9318
|
+
"type": "string"
|
|
9319
|
+
},
|
|
9320
|
+
{
|
|
9321
|
+
"$ref": "#/definitions/ExprRef"
|
|
9322
|
+
}
|
|
9323
|
+
],
|
|
9324
|
+
"description": "Color of the mark. Affects either `fill` or `stroke`, depending on the `filled` property."
|
|
9325
|
+
},
|
|
9326
|
+
"includePlotMargin": {
|
|
9327
|
+
"description": "Whether separators extend into the plot margin (axes/padding) around the grid.\n\n__Default value:__ `true`",
|
|
9328
|
+
"type": "boolean"
|
|
9329
|
+
},
|
|
9330
|
+
"minBufferSize": {
|
|
9331
|
+
"description": "Minimum size for WebGL buffers (number of data items). Allows for using `bufferSubData()` to update graphics.\n\nThis property is intended for internal use.",
|
|
9332
|
+
"type": "number"
|
|
9333
|
+
},
|
|
9334
|
+
"minLength": {
|
|
9335
|
+
"anyOf": [
|
|
9336
|
+
{
|
|
9337
|
+
"type": "number"
|
|
9338
|
+
},
|
|
9339
|
+
{
|
|
9340
|
+
"$ref": "#/definitions/ExprRef"
|
|
9341
|
+
}
|
|
9342
|
+
],
|
|
9343
|
+
"description": "The minimum length of the rule in pixels. Use this property to ensure that very short ranged rules remain visible even when the user zooms out.\n\n**Default value:** `0`"
|
|
9344
|
+
},
|
|
9345
|
+
"opacity": {
|
|
9346
|
+
"anyOf": [
|
|
9347
|
+
{
|
|
9348
|
+
"type": "number"
|
|
9349
|
+
},
|
|
9350
|
+
{
|
|
9351
|
+
"$ref": "#/definitions/ExprRef"
|
|
9352
|
+
}
|
|
9353
|
+
],
|
|
9354
|
+
"description": "Opacity of the mark. Affects `fillOpacity` or `strokeOpacity`, depending on the `filled` property."
|
|
9355
|
+
},
|
|
9356
|
+
"size": {
|
|
9357
|
+
"anyOf": [
|
|
9358
|
+
{
|
|
9359
|
+
"type": "number"
|
|
9360
|
+
},
|
|
9361
|
+
{
|
|
9362
|
+
"$ref": "#/definitions/ExprRef"
|
|
9363
|
+
}
|
|
9364
|
+
],
|
|
9365
|
+
"description": "Stroke width of `\"link\"` and `\"rule\"` marks in pixels, the area of the bounding square of `\"point\"` mark, or the font size of `\"text\"` mark."
|
|
9366
|
+
},
|
|
9367
|
+
"strokeCap": {
|
|
9368
|
+
"anyOf": [
|
|
9369
|
+
{
|
|
9370
|
+
"const": "butt",
|
|
9371
|
+
"type": "string"
|
|
9372
|
+
},
|
|
9373
|
+
{
|
|
9374
|
+
"const": "square",
|
|
9375
|
+
"type": "string"
|
|
9376
|
+
},
|
|
9377
|
+
{
|
|
9378
|
+
"const": "round",
|
|
9379
|
+
"type": "string"
|
|
9380
|
+
},
|
|
9381
|
+
{
|
|
9382
|
+
"$ref": "#/definitions/ExprRef"
|
|
9383
|
+
}
|
|
9384
|
+
],
|
|
9385
|
+
"description": "The style of stroke ends. Available choices: `\"butt\"`, `\"round`\", and `\"square\"`.\n\n**Default value:** `\"butt\"`"
|
|
9386
|
+
},
|
|
9387
|
+
"strokeDash": {
|
|
9388
|
+
"description": "An array of of alternating stroke and gap lengths or `null` for solid strokes.\n\n**Default value:** `null`",
|
|
9389
|
+
"items": {
|
|
9390
|
+
"type": "number"
|
|
9391
|
+
},
|
|
9392
|
+
"type": "array"
|
|
9393
|
+
},
|
|
9394
|
+
"strokeDashOffset": {
|
|
9395
|
+
"description": "An offset for the stroke dash pattern.\n\n**Default value:** `0`",
|
|
9396
|
+
"type": "number"
|
|
9397
|
+
},
|
|
9398
|
+
"tooltip": {
|
|
9399
|
+
"$ref": "#/definitions/Tooltip",
|
|
9400
|
+
"description": "Tooltip handler. If `null`, no tooltip is shown. If string, specifies the [tooltip handler](https://genomespy.app/docs/api/#custom-tooltip-handlers) to use."
|
|
9401
|
+
},
|
|
9402
|
+
"type": {
|
|
9403
|
+
"const": "rule",
|
|
9404
|
+
"type": "string"
|
|
9405
|
+
},
|
|
9406
|
+
"x": {
|
|
9407
|
+
"anyOf": [
|
|
9408
|
+
{
|
|
9409
|
+
"type": "number"
|
|
9410
|
+
},
|
|
9411
|
+
{
|
|
9412
|
+
"$ref": "#/definitions/ExprRef"
|
|
9413
|
+
}
|
|
9414
|
+
],
|
|
9415
|
+
"description": "Position on the x axis."
|
|
9416
|
+
},
|
|
9417
|
+
"x2": {
|
|
9418
|
+
"anyOf": [
|
|
9419
|
+
{
|
|
9420
|
+
"type": "number"
|
|
9421
|
+
},
|
|
9422
|
+
{
|
|
9423
|
+
"$ref": "#/definitions/ExprRef"
|
|
9424
|
+
}
|
|
9425
|
+
],
|
|
9426
|
+
"description": "The secondary position on the x axis."
|
|
9427
|
+
},
|
|
9428
|
+
"xOffset": {
|
|
9429
|
+
"description": "Offsets of the `x` and `x2` coordinates in pixels. The offset is applied after the viewport scaling and translation.\n\n**Default value:** `0`",
|
|
9430
|
+
"type": "number"
|
|
9431
|
+
},
|
|
9432
|
+
"y": {
|
|
9433
|
+
"anyOf": [
|
|
9434
|
+
{
|
|
9435
|
+
"type": "number"
|
|
9436
|
+
},
|
|
9437
|
+
{
|
|
9438
|
+
"$ref": "#/definitions/ExprRef"
|
|
9439
|
+
}
|
|
9440
|
+
],
|
|
9441
|
+
"description": "Position on the y axis."
|
|
9442
|
+
},
|
|
9443
|
+
"y2": {
|
|
9444
|
+
"anyOf": [
|
|
9445
|
+
{
|
|
9446
|
+
"type": "number"
|
|
9447
|
+
},
|
|
9448
|
+
{
|
|
9449
|
+
"$ref": "#/definitions/ExprRef"
|
|
9450
|
+
}
|
|
9451
|
+
],
|
|
9452
|
+
"description": "The secondary position on the y axis."
|
|
9453
|
+
},
|
|
9454
|
+
"yOffset": {
|
|
9455
|
+
"description": "Offsets of the `y` and `y2` coordinates in pixels. The offset is applied after the viewport scaling and translation.\n\n**Default value:** `0`",
|
|
9456
|
+
"type": "number"
|
|
9457
|
+
}
|
|
9458
|
+
},
|
|
9459
|
+
"type": "object"
|
|
9460
|
+
},
|
|
9090
9461
|
"SequenceGenerator": {
|
|
9091
9462
|
"additionalProperties": false,
|
|
9092
9463
|
"properties": {
|
|
@@ -9259,10 +9630,6 @@
|
|
|
9259
9630
|
"minimum": 0,
|
|
9260
9631
|
"type": "number"
|
|
9261
9632
|
},
|
|
9262
|
-
"contributesToScaleDomain": {
|
|
9263
|
-
"description": "Whether the field or evaluated expr should be included in the scale's domain.\n\n**Default value:** `true`",
|
|
9264
|
-
"type": "boolean"
|
|
9265
|
-
},
|
|
9266
9633
|
"datum": {
|
|
9267
9634
|
"anyOf": [
|
|
9268
9635
|
{
|
|
@@ -9866,7 +10233,7 @@
|
|
|
9866
10233
|
"type": "string"
|
|
9867
10234
|
},
|
|
9868
10235
|
"configurableVisibility": {
|
|
9869
|
-
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is
|
|
10236
|
+
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is unique within its import scope.\n\n**Default:** `false` for children of `layer`, `true` for others.",
|
|
9870
10237
|
"type": "boolean"
|
|
9871
10238
|
},
|
|
9872
10239
|
"data": {
|
|
@@ -9887,6 +10254,10 @@
|
|
|
9887
10254
|
],
|
|
9888
10255
|
"description": "A description of the view. Can be used for documentation. The description of the top-level view is shown in the toolbar of the [GenomeSpy App](https://genomespy.app/docs/sample-collections/)."
|
|
9889
10256
|
},
|
|
10257
|
+
"domainInert": {
|
|
10258
|
+
"description": "If true, this view and its descendants do not contribute to scale domains. Child views inherit this flag automatically.\n\n**Default value:** `false`",
|
|
10259
|
+
"type": "boolean"
|
|
10260
|
+
},
|
|
9890
10261
|
"encoding": {
|
|
9891
10262
|
"$ref": "#/definitions/Encoding",
|
|
9892
10263
|
"description": "Specifies how data are [encoded](https://genomespy.app/docs/grammar/mark/#encoding) using the visual channels."
|
|
@@ -9921,7 +10292,7 @@
|
|
|
9921
10292
|
"description": "The graphical mark presenting the data objects."
|
|
9922
10293
|
},
|
|
9923
10294
|
"name": {
|
|
9924
|
-
"description": "An
|
|
10295
|
+
"description": "An explicit name used to address the view. It is recommended to keep names unique among siblings. In the App (where view state is bookmarkable), the name must be unique within its import scope for views with configurable visibility, etc.",
|
|
9925
10296
|
"type": "string"
|
|
9926
10297
|
},
|
|
9927
10298
|
"opacity": {
|
|
@@ -9972,6 +10343,9 @@
|
|
|
9972
10343
|
"fillOpacity": {
|
|
9973
10344
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
9974
10345
|
},
|
|
10346
|
+
"key": {
|
|
10347
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
10348
|
+
},
|
|
9975
10349
|
"opacity": {
|
|
9976
10350
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
9977
10351
|
},
|
|
@@ -10049,6 +10423,9 @@
|
|
|
10049
10423
|
"fillOpacity": {
|
|
10050
10424
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
10051
10425
|
},
|
|
10426
|
+
"key": {
|
|
10427
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
10428
|
+
},
|
|
10052
10429
|
"opacity": {
|
|
10053
10430
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
10054
10431
|
},
|
|
@@ -10285,7 +10662,7 @@
|
|
|
10285
10662
|
"type": "string"
|
|
10286
10663
|
},
|
|
10287
10664
|
"configurableVisibility": {
|
|
10288
|
-
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is
|
|
10665
|
+
"description": "Is the visibility configurable interactively from the [GenomeSpy App](https://genomespy.app/docs/sample-collections/). Configurability requires that the view has an explicitly specified name that is unique within its import scope.\n\n**Default:** `false` for children of `layer`, `true` for others.",
|
|
10289
10666
|
"type": "boolean"
|
|
10290
10667
|
},
|
|
10291
10668
|
"data": {
|
|
@@ -10306,6 +10683,10 @@
|
|
|
10306
10683
|
],
|
|
10307
10684
|
"description": "A description of the view. Can be used for documentation. The description of the top-level view is shown in the toolbar of the [GenomeSpy App](https://genomespy.app/docs/sample-collections/)."
|
|
10308
10685
|
},
|
|
10686
|
+
"domainInert": {
|
|
10687
|
+
"description": "If true, this view and its descendants do not contribute to scale domains. Child views inherit this flag automatically.\n\n**Default value:** `false`",
|
|
10688
|
+
"type": "boolean"
|
|
10689
|
+
},
|
|
10309
10690
|
"encoding": {
|
|
10310
10691
|
"$ref": "#/definitions/Encoding",
|
|
10311
10692
|
"description": "Specifies how data are [encoded](https://genomespy.app/docs/grammar/mark/#encoding) using the visual channels."
|
|
@@ -10329,7 +10710,7 @@
|
|
|
10329
10710
|
"description": "Height of the view. If a number, it is interpreted as pixels. Check [child sizing](https://genomespy.app/docs/grammar/composition/concat/#child-sizing) for details.\n\n**Default value:** `\"container\"`"
|
|
10330
10711
|
},
|
|
10331
10712
|
"name": {
|
|
10332
|
-
"description": "An
|
|
10713
|
+
"description": "An explicit name used to address the view. It is recommended to keep names unique among siblings. In the App (where view state is bookmarkable), the name must be unique within its import scope for views with configurable visibility, etc.",
|
|
10333
10714
|
"type": "string"
|
|
10334
10715
|
},
|
|
10335
10716
|
"padding": {
|
|
@@ -10376,6 +10757,9 @@
|
|
|
10376
10757
|
"fillOpacity": {
|
|
10377
10758
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
10378
10759
|
},
|
|
10760
|
+
"key": {
|
|
10761
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
10762
|
+
},
|
|
10379
10763
|
"opacity": {
|
|
10380
10764
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
10381
10765
|
},
|
|
@@ -10453,6 +10837,9 @@
|
|
|
10453
10837
|
"fillOpacity": {
|
|
10454
10838
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
10455
10839
|
},
|
|
10840
|
+
"key": {
|
|
10841
|
+
"$ref": "#/definitions/ResolutionBehavior"
|
|
10842
|
+
},
|
|
10456
10843
|
"opacity": {
|
|
10457
10844
|
"$ref": "#/definitions/ResolutionBehavior"
|
|
10458
10845
|
},
|
|
@@ -10504,6 +10891,17 @@
|
|
|
10504
10891
|
},
|
|
10505
10892
|
"type": "object"
|
|
10506
10893
|
},
|
|
10894
|
+
"separator": {
|
|
10895
|
+
"anyOf": [
|
|
10896
|
+
{
|
|
10897
|
+
"type": "boolean"
|
|
10898
|
+
},
|
|
10899
|
+
{
|
|
10900
|
+
"$ref": "#/definitions/SeparatorProps"
|
|
10901
|
+
}
|
|
10902
|
+
],
|
|
10903
|
+
"description": "Draws separator rules between visible child views. The separators are centered within the spacing gaps and do not affect layout.\n\nIf `true`, the defaults are equivalent to: `{\"type\":\"rule\",\"size\":1,\"color\":\"#ccc\",\"opacity\":1,\"strokeDash\":[4,4],\"strokeCap\":\"butt\"}` Use `includePlotMargin` to control whether the separators extend into the plot margin.\n\n__Default value:__ `false`"
|
|
10904
|
+
},
|
|
10507
10905
|
"spacing": {
|
|
10508
10906
|
"description": "The gap between the views, in pixels.",
|
|
10509
10907
|
"type": "number"
|
|
@@ -10740,6 +11138,10 @@
|
|
|
10740
11138
|
"description": "A unique name for the variable parameter. Parameter names should be valid JavaScript identifiers: they should contain only alphanumeric characters (or \"$\", or \"_\") and may not start with a digit. Reserved keywords that may not be used as parameter names are: \"datum\".",
|
|
10741
11139
|
"type": "string"
|
|
10742
11140
|
},
|
|
11141
|
+
"persist": {
|
|
11142
|
+
"description": "Whether the parameter should be persisted in bookmarks and provenance.\n\nThis primarily affects GenomeSpy App behavior. Set to `false` for ephemeral params (e.g., hover selections) or when the selection cannot be persisted due to missing `encoding.key`.\n\n__Default value:__ `true`",
|
|
11143
|
+
"type": "boolean"
|
|
11144
|
+
},
|
|
10743
11145
|
"push": {
|
|
10744
11146
|
"const": "outer",
|
|
10745
11147
|
"type": "string"
|