Closed buniello closed 1 week ago
We are not considering representing as much data, but this is an equivalent view for inspiration: https://r11.finngen.fi/region/I9_HYPTENS/20:58876654-59376654
Correction: There is a difference in the fact we are representing a study-locus whereas they are representing a locus across all studies.
A few comments from @addramir:
is95CredibleSet
column is not required in the tablevariantId
and posteriorProbability
are not nullable. Everything else is optional.As discussed on August 7th, we will make progress on the credible set API endpoint while @gjmcn is away, so it simplifies the locus drawer implementation
I would still keep the is95CredibleSet
field in table (same as current OTG) as my understanding from discussion with Daniel S is that not all variants are in the 95% (but they all are in 99%).
@gjmcn - please pause implementation on this for now (more scoping happening in the background)
The locus drawer will open from the number field in the
credible set size
column, for both GWAS and molQTLs widget. if credible sets size is 7, the drawer will contain 7 rows for 7 variants in the locus.Credible sets widget ticket
Discussed with @DSuveges and Genetics Team.
Pending
credible sets
API deployment at time of drafting this, we have scoped this object with this schema:TABLE/DRAWER:
variantId
pValueMantissa
&pValueExponent
(Table will be sorted/sortable by this column)beta
- Tooltip: Beta with respect to the ALT allelestandardError
-Tooltip: Standard Error: Estimate of the standard deviation of the sampling distribution of the betar2Overall
- Tooltip: Linkage disequilibrium with the queried variantposteriorProbability
- Tooltip: Posterior inclusion Probability from fine-mapping that this variant is causallogBF
is95CredibleSet