glygener / glygen-issues

Repository for public GlyGen tickets
GNU General Public License v3.0
0 stars 0 forks source link

Biomarker Score #1385

Closed DaniallMasood closed 1 month ago

DaniallMasood commented 4 months ago

I see that the hit score exists within the Biomarker results tables (this is for the biomarker front end) and seems to be copied over from GlyGen. We have our own version of the biomarker score and would like to use that in place of the hit score if possible. @seankim658 has developed a mechanism for that if that can be implemented and used for the scoring.

https://github.com/clinical-biomarkers/biomarker-score-calculator

this is the score calculator. Sean if you can advise on how to use it and @sujeetvkulkarni if this is possible to implement or how we can?

sujeetvkulkarni commented 4 months ago

you can use your own score just keep the name and same format.

DaniallMasood commented 4 months ago

Ok just talked to Sean. The score for biomarkers should already be in the API. it comes underneath the field "score" if that can be placed within the score column on the results

seankim658 commented 4 months ago

@sujeetvkulkarni I'll implement this on my end in the format that hit score on glygen does. Right now we have it in a different format.

DaniallMasood commented 4 months ago

@sujeetvkulkarni could you change the equation in the score information to this image

sujeetvkulkarni commented 3 months ago

@seankim658 @DaniallMasood For Hit score - weights would be same for every biomarker and frequency would be different. So weights should be constants.

So I believe the formula would be, ∑ (Weight * Frequency)

sujeetvkulkarni commented 3 months ago

@DaniallMasood @seankim658

In case of where hit score value is 0. You have to adjust your frequency to reflect the Hit score value based on the ∑ (Weight * Frequency) formula.

Screenshot 2024-07-01 at 4 11 59 PM

Screenshot 2024-07-01 at 4 13 02 PM