Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Platform]: pharmgkb section fix #517

Merged
merged 52 commits into from
Nov 8, 2024
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
1fcf8ca
[Platform]: Add latest variant page work to genetics branch (#425)
carcruz Jul 22, 2024
978e6ce
Merge branch 'genetics' of github.com:opentargets/ot-ui-apps into gen…
carcruz Jul 29, 2024
207496d
[Platform]: Update genetics branch (#430)
carcruz Jul 29, 2024
a76f418
[Platform]: Add study page (#431)
gjmcn Jul 29, 2024
7ceac5a
[Platform]: Update VEP widget on variant page (#434)
gjmcn Aug 6, 2024
bffcb69
[Platform]: Use long text for alleles in variant page metadata (#432)
gjmcn Aug 6, 2024
f26325c
[Platform]: Display long variant ID appropriately in variant page hea…
gjmcn Aug 6, 2024
090fc54
[Platform]: Add variant suggestions to home pages (#436)
gjmcn Aug 6, 2024
f3b44cd
[Platform]: Add DisplayVariantId component (#441)
gjmcn Aug 28, 2024
ee82db1
[Platform]: Update VEP columns in variant page (#442)
gjmcn Aug 30, 2024
9e328ea
[Platform]: Add pharmacogenetics widget to variant page (#443)
gjmcn Aug 30, 2024
7284909
[Platform]: Add ClinVar widget to variant page (#447)
gjmcn Aug 30, 2024
f7b373e
[Platform]: Update from VariantIndex to Variant (#453)
gjmcn Sep 2, 2024
1d10d6f
[Platform]: Add QTL credible sets widget to variant page (#456)
gjmcn Sep 4, 2024
d8cbb96
Merge branch 'main' of github.com:opentargets/ot-ui-apps into genetics
carcruz Sep 4, 2024
b465c35
[Platform]: Add GWAS credible set widget to variant page (#454)
gjmcn Sep 4, 2024
9143b52
[Platform]: Update how variant id is shown (#458)
gjmcn Sep 5, 2024
2f2744f
Merge branch 'main' into genetics
gjmcn Sep 12, 2024
99924b8
[Platform]: Add QTL credible sets widget to study page (#465)
gjmcn Sep 17, 2024
faf40ba
[Platform]: Add GWAS credible sets widget to study page (#464)
gjmcn Sep 17, 2024
8f28697
Merge branch 'main' of github.com:opentargets/ot-ui-apps into genetics
carcruz Sep 17, 2024
8ec01e3
[Platform]: Add related GWAS studies widget to study page (#477)
gjmcn Sep 23, 2024
b2c703b
[Platform]: Use page parameter in credible sets queries (#478)
gjmcn Sep 23, 2024
4443faa
[Platform]: Allow greater precision in allele frequency plot (#480)
gjmcn Sep 23, 2024
b9be696
[Platform]: Include variant id in credible sets tooltips (#481)
gjmcn Sep 23, 2024
3fef271
[Platform]: Sort and filter credible sets widgets (#487)
gjmcn Sep 26, 2024
f14d3c4
[Platform]: Include variants in search results (#490)
gjmcn Sep 30, 2024
211b4f2
[Platform] Minor updates to widgets on variant and study pages (#495)
gjmcn Oct 7, 2024
fd1a4a3
[Platform]: Metadata updates for variant and study page (#494)
gjmcn Oct 7, 2024
b5712ab
[Platform] Add links from credible sets widgets to credible set page …
gjmcn Oct 7, 2024
fe74a41
[Platform]: Add credible set page (#492)
gjmcn Oct 7, 2024
fba0e59
[Platform]: Add variants widget to credible set page (#497)
gjmcn Oct 8, 2024
f57dc1e
[Platform]: Handle missing biosample in molQTL credible sets widget o…
gjmcn Oct 8, 2024
39c8f4c
[Platform]: Add GWAS coloc widget to credible set page (#498)
gjmcn Oct 8, 2024
3ce3271
Merge branch 'main' of github.com:opentargets/ot-ui-apps into genetics
carcruz Oct 8, 2024
b959f1f
[Platform] Disable PPP dialog on genetics branch (#501)
gjmcn Oct 9, 2024
ebcf978
[Platform] Increase max rows in coloc widget (#502)
gjmcn Oct 10, 2024
424eedc
[Platform]: Accurate sorting when very small p-values (#500)
gjmcn Oct 10, 2024
6ca7842
[Platform] Add study table to disease page (#505)
gjmcn Oct 22, 2024
6eb0bd1
[Platform] Minor updates to credible sets and study pages (#506)
gjmcn Oct 22, 2024
92bfbd6
[Platform]: Add uniprot widget to variant page (#507)
gjmcn Oct 22, 2024
c39208e
Merge branch 'main' of github.com:opentargets/ot-ui-apps into genetics
carcruz Oct 30, 2024
ef7e7e0
fix: credible set sections
carcruz Oct 30, 2024
0ebbb1c
[Platform]: fix study sections (#513)
carcruz Oct 31, 2024
75067d3
[Platform]: variant page section update (#514)
chinmehta Oct 31, 2024
826dc7d
feat: prop updated
chinmehta Oct 31, 2024
9f52b86
update column id
chinmehta Oct 31, 2024
1b696e8
fix: targetFromSourceId de-structuring
chinmehta Oct 31, 2024
86d8dcd
fix: disease GWASStudiesSection
carcruz Nov 1, 2024
301bae1
updating column id pharm gkb
chinmehta Nov 4, 2024
8eaf884
fix: data object chain
chinmehta Nov 4, 2024
550516a
Merge branch 'main' into cm-phargkb
chinmehta Nov 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions packages/sections/src/variant/Pharmacogenomics/Body.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function Body({ id, entity }: BodyProps) {
renderCell: ({ genotypeId }) => genotypeId || naLabel,
},
{
id: "drug",
id: "drugs",
label: "Drug(s)",
renderCell: ({ drugs }) => {
const drugsInfo = drugs.filter(d => d.drugId || d.drugFromSource);
Expand All @@ -109,7 +109,7 @@ function Body({ id, entity }: BodyProps) {
drugs.map(d => `${d.drugFromSource ?? ""} ${d.drugId ?? ""}`).join(" "),
},
{
id: "drugResponse",
id: "genotypeAnnotationText",
label: "Drug response phenotype",
renderCell: ({ phenotypeText = naLabel, phenotypeFromSourceId, genotypeAnnotationText }) => {
let phenotypeTextElement = <>phenotypeText</>;
Expand All @@ -128,7 +128,7 @@ function Body({ id, entity }: BodyProps) {
filterValue: ({ phenotypeText }) => phenotypeText,
},
{
id: "drugResponseCategory",
id: "pgxCategory",
label: "Drug response category",
renderCell: ({ pgxCategory }) => pgxCategory || naLabel,
filterValue: ({ pgxCategory }) => pgxCategory,
Expand Down Expand Up @@ -182,6 +182,7 @@ function Body({ id, entity }: BodyProps) {
},
{
id: "literature",
label: "Literature",
renderCell: ({ literature }) => {
const literatureList =
literature?.reduce((acc, id) => {
Expand Down Expand Up @@ -222,7 +223,7 @@ function Body({ id, entity }: BodyProps) {
dataDownloader
sortBy="evidenceLevel"
columns={columns}
rows={request.data?.pharmacogenomics}
rows={request.data?.variant.pharmacogenomics}
query={PHARMACOGENOMICS_QUERY.loc.source.body}
variables={variables}
loading={request.loading}
Expand Down
Loading