Skip to content

Commit

Permalink
wip: update frontend ibd annotatation display
Browse files Browse the repository at this point in the history
  • Loading branch information
rileyhgrant committed Jan 2, 2025
1 parent 161f1cb commit 0796812
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/browsers/ibd/IBDBrowser.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,17 @@ const IBDBrowser = () => (
return variants
},
}}
renderVariantAttributes={({ cadd, mpc, polyphen }) => [
{ label: 'PolyPhen', content: polyphen === null ? '–' : polyphen },
{ label: 'MPC', content: mpc === null ? '–' : mpc },
// renderVariantAttributes={({ cadd, mpc, polyphen }) => [
// { label: 'PolyPhen', content: polyphen === null ? '–' : polyphen },
// { label: 'MPC', content: mpc === null ? '–' : mpc },
// { label: 'CADD', content: cadd === null ? '–' : cadd },
// ]}
renderVariantAttributes={({ cadd, revel, polyphen, splice_ai, sift }) => [
{ label: 'CADD', content: cadd === null ? '–' : cadd },
{ label: 'Revel', content: revel === null ? '–' : revel },
{ label: 'PolyPhen', content: polyphen === null ? '–' : polyphen },
{ label: 'Splice AI', content: splice_ai === null ? '–' : splice_ai },
{ label: 'sift', content: sift === null ? '–' : sift },
]}
/>
)
Expand Down

0 comments on commit 0796812

Please sign in to comment.