Skip to content

Commit

Permalink
Pigean search (#815)
Browse files Browse the repository at this point in the history
for now, no genesets
  • Loading branch information
moriondo2022 authored Dec 13, 2024
1 parent 8de160f commit fdc91b3
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/PIGEAN/Index/Template.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
Search for gene, geneset or phenotype
</h4>
<research-single-search
:single-search-config="$parent.config"
:single-search-config="$parent.altConfig"
:phenotypes="
$parent.phenotypesInSession
"
Expand Down
38 changes: 38 additions & 0 deletions src/views/PIGEAN/Index/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,44 @@ new Vue({
},
],
},
altConfig: {
"search instruction": "Search gene, geneset or phenotype",
"search examples": [
{
parameter: "gene",
value: "PLAU",
},
{
parameter: "gene",
value: "MLX",
},
],
"search parameters": [
{
parameter: "gene",
values: "kp genes",
"target page": {
label: "Search Gene",
url: "/pigean/gene.html?",
},
},
{
parameter: "geneset",
"target page": {
label: "Search Geneset",
url: "/pigean/geneset.html?",
},
},
{
parameter: "phenotype",
values: "kp phenotypes",
"target page": {
label: "Search Phenotype",
url: "/pigean/phenotype.html?",
},
},
],
},
},

computed: {
Expand Down

0 comments on commit fdc91b3

Please sign in to comment.