@abi-software/flatmapvuer 0.4.2 → 0.4.3
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/LICENSE +201 -201
- package/README.md +105 -105
- package/babel.config.js +14 -14
- package/dist/flatmapvuer.common.js +74 -69
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.umd.js +74 -69
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js +1 -1
- package/dist/flatmapvuer.umd.min.js.map +1 -1
- package/package-lock.json +14228 -14228
- package/package.json +72 -72
- package/public/index.html +17 -17
- package/src/App.vue +221 -221
- package/src/assets/_variables.scss +43 -43
- package/src/assets/styles.scss +7 -7
- package/src/components/EventBus.js +2 -2
- package/src/components/ExternalResourceCard.vue +98 -98
- package/src/components/FlatmapVuer.vue +1627 -1627
- package/src/components/MultiFlatmapVuer.vue +509 -509
- package/src/components/SelectionsGroup.vue +248 -248
- package/src/components/Tooltip.vue +405 -405
- package/src/components/index.js +9 -9
- package/src/components/legends/DynamicLegends.vue +112 -112
- package/src/components/legends/SvgLegends.vue +66 -66
- package/src/icons/fonts/mapicon-species.eot +0 -0
- package/src/icons/fonts/mapicon-species.svg +14 -14
- package/src/icons/fonts/mapicon-species.ttf +0 -0
- package/src/icons/fonts/mapicon-species.woff +0 -0
- package/src/icons/mapicon-species-style.css +42 -42
- package/src/legends/legend.svg +25 -25
- package/src/main.js +8 -8
- package/src/nerve-map.js +99 -0
- package/src/services/flatmapQueries.js +384 -380
- package/vue.config.js +31 -31
package/src/nerve-map.js
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// nerve-map.js
|
|
2
|
+
|
|
3
|
+
// A temporary hard-coded mapping file used for demonstrating the types of info
|
|
4
|
+
// neural paths will show on click
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
'UBERON:0011390': {
|
|
8
|
+
title: 'Pudendal nerve', components: 'sensory (afferent) neuron', start: 'First sacral spinal cord segment, Sixth lumbar spinal cord segment', distribution: 'External urethral sphincter', actions: [{
|
|
9
|
+
title: "View source",
|
|
10
|
+
resource: "https://www.ncbi.nlm.nih.gov/books/NBK554736/",
|
|
11
|
+
type: "URL"
|
|
12
|
+
}],
|
|
13
|
+
},
|
|
14
|
+
'UBERON:0003715': {
|
|
15
|
+
title: 'Splanchnic nerve', components: undefined, start: undefined, distribution: undefined, actions: [{
|
|
16
|
+
title: "View source",
|
|
17
|
+
resource: "https://doi.org/10.1002/ca.23296",
|
|
18
|
+
type: "URL"
|
|
19
|
+
}],
|
|
20
|
+
},
|
|
21
|
+
'UBERON:0001884': {
|
|
22
|
+
title: 'Phrenic nerve', components: undefined, start: undefined, distribution: undefined, actions: [{
|
|
23
|
+
title: "View source",
|
|
24
|
+
resource: "https://doi.org/10.1002/ca.23296",
|
|
25
|
+
type: "URL"
|
|
26
|
+
}],
|
|
27
|
+
},
|
|
28
|
+
'ILX:0738374': {
|
|
29
|
+
title: 'External laryngeal nerve', components: 'visceral efferent', start: undefined, distribution: 'cricothyroid', actions: [{
|
|
30
|
+
title: "View source",
|
|
31
|
+
resource: "https://doi.org/10.1002/ca.23296",
|
|
32
|
+
type: "URL"
|
|
33
|
+
}],
|
|
34
|
+
},
|
|
35
|
+
'ILX:0738309': {
|
|
36
|
+
title: 'Internal laryngeal nerve', components: 'general afferent, general visceral affarent, visceral parasympathetic', start: undefined, distribution: undefined, actions: [{
|
|
37
|
+
title: "View source",
|
|
38
|
+
resource: "https://doi.org/10.1002/ca.23296",
|
|
39
|
+
type: "URL"
|
|
40
|
+
}],
|
|
41
|
+
},
|
|
42
|
+
'UBERON:0018675': {
|
|
43
|
+
title: 'Pelvic splanchnic nerve', components: undefined, start: undefined, distribution: undefined, actions: [{
|
|
44
|
+
title: "View source",
|
|
45
|
+
resource: "https://doi.org/10.1002/ca.23296",
|
|
46
|
+
type: "URL"
|
|
47
|
+
}],
|
|
48
|
+
},
|
|
49
|
+
'UBERON:0018683': {
|
|
50
|
+
title: 'Lumbar splanchnic nerve', components: undefined, start: undefined, distribution: undefined, actions: [{
|
|
51
|
+
title: "View source",
|
|
52
|
+
resource: "https://doi.org/10.1002/ca.23296",
|
|
53
|
+
type: "URL"
|
|
54
|
+
}],
|
|
55
|
+
},
|
|
56
|
+
'UBERON:0001650': {
|
|
57
|
+
title: 'Hypoglossal nerve', components: undefined, start: undefined, distribution: undefined, actions: [{
|
|
58
|
+
title: "View source",
|
|
59
|
+
resource: "https://doi.org/10.1002/ca.23296",
|
|
60
|
+
type: "URL"
|
|
61
|
+
}],
|
|
62
|
+
},
|
|
63
|
+
'UBERON:0005303': {
|
|
64
|
+
title: 'Hypogastric nerve', components: undefined, start: undefined, distribution: undefined, actions: [{
|
|
65
|
+
title: "View source",
|
|
66
|
+
resource: "https://doi.org/10.1002/ca.23296",
|
|
67
|
+
type: "URL"
|
|
68
|
+
}],
|
|
69
|
+
},
|
|
70
|
+
'UBERON:0001759': {
|
|
71
|
+
title: 'Vagus nerve', components: undefined, start: undefined, distribution: undefined, actions: [{
|
|
72
|
+
title: "View source",
|
|
73
|
+
resource: "https://doi.org/10.1002/ca.23296",
|
|
74
|
+
type: "URL"
|
|
75
|
+
}, {
|
|
76
|
+
title: "Explore data",
|
|
77
|
+
label: "Stimulation",
|
|
78
|
+
resource: "https://sparc.science/data?type=dataset&q=stimulation",
|
|
79
|
+
type: "Search",
|
|
80
|
+
nervePath: true,
|
|
81
|
+
filter: {
|
|
82
|
+
facet: 'Vagus Nerve',
|
|
83
|
+
term: 'genotype'
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
},
|
|
88
|
+
'http://uri.interlex.org/base/ilx_0738443': {
|
|
89
|
+
title: 'Fascicle of Vagus Nerve', components: undefined, start: undefined, distribution: undefined, actions: [ {
|
|
90
|
+
title: "View dataset",
|
|
91
|
+
label: "Stimulation",
|
|
92
|
+
resource: "https://sparc.science/datasets/64?type=dataset",
|
|
93
|
+
type: "URL",
|
|
94
|
+
nervePath: false,
|
|
95
|
+
},
|
|
96
|
+
],
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
}
|