Skip to content

Commit

Permalink
[Platform]: Update open targets links in widget descriptions (#606)
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmcn authored Dec 9, 2024
1 parent 0be009d commit 2058ade
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function Description() {
return (
<>
Colocalisation metrics for overlapping credible sets from GWAS studies. Source:{" "}
<Link to="../" >
<Link to="https://home.opentargets.org/merged-product-documentation" external>
Open Targets
</Link>
</>
Expand Down
4 changes: 3 additions & 1 deletion packages/sections/src/credibleSet/Locus2Gene/Description.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ function Description(): ReactElement {
return (
<>
Gene assignment based on machine-learning prioritisation of credible set features. Source:{" "}
<Link to="../">Open Targets</Link>
<Link to="https://home.opentargets.org/merged-product-documentation" external>
Open Targets
</Link>
</>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function Description() {
return (
<>
Colocalisation metrics for overlapping credible sets from molecular QTL studies. Source:{" "}
<Link to="../" >
<Link to="https://home.opentargets.org/merged-product-documentation" external>
Open Targets
</Link>
</>
Expand Down
2 changes: 1 addition & 1 deletion packages/sections/src/credibleSet/Variants/Description.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function Description() {
return (
<>
Set of variants with 95% probability of containing the causal variant. Source:{" "}
<Link to="../" >
<Link to="https://home.opentargets.org/merged-product-documentation" external>
Open Targets
</Link>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ function Description({ symbol, name }) {
<>
95% GWAS credible sets prioritisating <strong>{symbol}</strong> as likely causal gene for{" "}
<strong>{name}</strong>. Source:{" "}
<Link to={config.geneticsPortalUrl} external>
Open Targets Genetics
<Link to="https://home.opentargets.org/merged-product-documentation" external>
Open Targets
</Link>
</>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function Description({ studyId }: DescriptionProps) {
<>
95% GWAS credible sets associated with study {" "}
<strong>{studyId}</strong>. Source{" "}
<Link to="../" >
<Link to="https://home.opentargets.org/merged-product-documentation" external>
Open Targets
</Link>
</>
Expand Down
4 changes: 4 additions & 0 deletions packages/sections/src/study/QTLCredibleSets/Description.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ function Description({ studyId }: DescriptionProps) {
<Link external to="https://www.ebi.ac.uk/eqtl/" >
eQTL Catalog
</Link>
,{" "}
<Link external to="https://www.synapse.org/Synapse:syn51364943/wiki/622119" >
UKB-PPP
</Link>
</>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function Description({ variantId, referenceAllele, alternateAllele }: Descriptio
/>
</strong>
. Source{" "}
<Link to="../" >
<Link to="https://home.opentargets.org/merged-product-documentation" external>
Open Targets
</Link>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ function Description({
alternateAllele={alternateAllele}
/>
</strong>
. Source <Link to="/">Open Targets</Link>
. Source{" "}
<Link to="https://home.opentargets.org/merged-product-documentation" external>
Open Targets
</Link>
</>
);
}
Expand Down

0 comments on commit 2058ade

Please sign in to comment.