From 61287b82e30f31b804c1fb4e178220a1d51f68a5 Mon Sep 17 00:00:00 2001 From: David Ochoa Date: Mon, 25 Nov 2024 13:39:22 +0000 Subject: [PATCH] feat: finemapping confidence tooltip --- packages/sections/src/evidence/GWASCredibleSets/Body.jsx | 1 + packages/sections/src/variant/GWASCredibleSets/Body.tsx | 1 + packages/sections/src/variant/QTLCredibleSets/Body.tsx | 1 + 3 files changed, 3 insertions(+) diff --git a/packages/sections/src/evidence/GWASCredibleSets/Body.jsx b/packages/sections/src/evidence/GWASCredibleSets/Body.jsx index c1e44ede2..3da061895 100644 --- a/packages/sections/src/evidence/GWASCredibleSets/Body.jsx +++ b/packages/sections/src/evidence/GWASCredibleSets/Body.jsx @@ -113,6 +113,7 @@ function getColumns() { id: "confidence", label: "Fine-mapping confidence", sortable: true, + tooltip: "Fine-mapping confidence based on the quality of the linkage-desequilibrium information available and fine-mapping method", renderCell: ({ credibleSet }) => { if (!credibleSet?.confidence) return naLabel; return ( diff --git a/packages/sections/src/variant/GWASCredibleSets/Body.tsx b/packages/sections/src/variant/GWASCredibleSets/Body.tsx index c7970476a..816360881 100644 --- a/packages/sections/src/variant/GWASCredibleSets/Body.tsx +++ b/packages/sections/src/variant/GWASCredibleSets/Body.tsx @@ -162,6 +162,7 @@ function getColumns({ id, referenceAllele, alternateAllele }: getColumnsType) { { id: "confidence", label: "Fine-mapping confidence", + tooltip: "Fine-mapping confidence based on the suitability of the linkage-desequilibrium information and fine-mapping method", sortable: true, renderCell: ({ confidence }) => { if (!confidence) return naLabel; diff --git a/packages/sections/src/variant/QTLCredibleSets/Body.tsx b/packages/sections/src/variant/QTLCredibleSets/Body.tsx index 03b68ec36..2b9d00dd2 100644 --- a/packages/sections/src/variant/QTLCredibleSets/Body.tsx +++ b/packages/sections/src/variant/QTLCredibleSets/Body.tsx @@ -173,6 +173,7 @@ function getColumns({ id, referenceAllele, alternateAllele }: getColumnsType) { { id: "confidence", label: "Fine-mapping confidence", + tooltip: "Fine-mapping confidence based on the quality of the linkage-desequilibrium information available and fine-mapping method", sortable: true, renderCell: ({ confidence }) => { if (!confidence) return naLabel;