Open d0choa opened 2 weeks ago
I would change the tooltip slightly Header tooltip: Effect directionality based on the ratio of betas between the two credible sets
I don't think we need to explicitly mention "beta ratio sign average" in a tooltip as it's a bit jargony and in my mind a tooltip should be the bare minimum to communicate the column to users.
Spec updated based on @Tobi1kenobi feedback
A new column,
betaRatioSignAverage,
is available in the colocalisation endpointWe will like to add this column containing a nullable float to the 2 colocalisation widgets in the credible set page.
Based on discussions with @addramir and @Tobi1kenobi we want to propose:
Column header: Directionality Header Tooltip: Effect directionality based on the ratio of betas between the two credible sets Values: When betaRatioSignAverage in [-1, -0.99) show
Opposite
When betaRatioSignAverage in (-0.99,0.99) or betaRatioSignAverage == null showInconclusive
When betaRatioSignAverage in [0.99, 1] ->Same
Note: The reason to do [0.99,1] is because there might be rounding issues. It would be equivalent to round it to second decimal point and dobetaRatioSignAverage
== 1Tooltip for value: Beta ratio sign average:
The position of the column could be after the colocalising method for now. During revision we can move it around
@carcruz please reassign if appropiate