Skip to content

Commit

Permalink
[Platform]: Add source to allele frequency plot #619
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmcn authored Dec 10, 2024
1 parent e90377b commit c8e431d
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions apps/platform/src/pages/VariantPage/ProfileHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,26 @@ function ProfileHeader() {

{data?.variant.alleleFrequencies.length > 0 && (
<Paper sx={{ py: 2, px: 5, maxWidth: "100%" }} elevation={0} variant="outlined">
<Typography variant="subtitle2" mb={1}>
Population Allele Frequencies
</Typography>
<Box
display="flex"
justifyContent="space-between"
flexWrap="wrap"
columnGap={2}
mb={1.5}
alignItems="center"
>
<Typography variant="subtitle2">
Population Allele Frequencies
</Typography>
<Typography variant="body2">
<em>
Source:{" "}
<Link to="https://gnomad.broadinstitute.org/" external>
gnomAD
</Link>
</em>
</Typography>
</Box>
<Box sx={{ margin: "0 auto", maxWidth: "550px" }}>
<AlleleFrequencyPlot data={data.variant.alleleFrequencies} />
</Box>
Expand Down

0 comments on commit c8e431d

Please sign in to comment.