Skip to content

Commit 34f49ad

Browse files
authored
Merge pull request #688 from opentargets/do_3798_burden
[Platform]: generalise link to documentation for burden test
2 parents 46db6b2 + 6dde991 commit 34f49ad

File tree

1 file changed

+4
-23
lines changed

1 file changed

+4
-23
lines changed
Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,15 @@
11
import { Link } from "ui";
22

3-
function Description({ symbol, diseaseName, data }) {
4-
// construct direct link to AZ PhwWAS Portal if any row is from there
5-
const { releaseVersion, targetFromSourceId } =
6-
data?.disease?.geneBurdenSummary?.rows?.find(row => {
7-
return row.projectId === "AstraZeneca PheWAS Portal";
8-
}) ?? {};
9-
const azLink =
10-
releaseVersion && targetFromSourceId
11-
? `https://azphewas.com/geneView/${releaseVersion}/${targetFromSourceId}`
12-
: "https://azphewas.com";
13-
3+
function Description({ symbol, diseaseName }) {
144
return (
155
<>
166
Gene burden analysis prioritising <strong>{symbol}</strong> as likely causal gene for{" "}
177
<strong>{diseaseName}</strong>. Source:{" "}
18-
<Link external to={azLink}>
19-
AstraZeneca PheWAS Portal
20-
</Link>
21-
,{" "}
22-
<Link external to="https://app.genebass.org">
23-
Genebass
24-
</Link>
25-
,{" "}
26-
<Link external to="https://www.finngen.fi/en">
27-
FinnGen
8+
<Link to="https://platform-docs.opentargets.org/evidence#gene-burden" external>
9+
Open Targets
2810
</Link>
29-
.
3011
</>
3112
);
3213
}
3314

34-
export default Description;
15+
export default Description;

0 commit comments

Comments
 (0)