Closed pjvandehaar closed 3 years ago
(reason: to get rid of the need for https://github.com/statgen/locuszoom/pull/102)
Keep a dictionary: phenotype -> fields needed
Keep an ordered dictionary: field -> template line
When somebody requests a LZ: send along the exact .fields and tooltip_template as "JSON" in the HTML.
.fields
tooltip_template
When somebody requests a PheWAS: send along the exact .fields (union of all traits) and tooltip_template as "JSON" in the HTML.
(reason: to get rid of the need for https://github.com/statgen/locuszoom/pull/102)
Keep a dictionary: phenotype -> fields needed
Keep an ordered dictionary: field -> template line
When somebody requests a LZ: send along the exact
.fields
andtooltip_template
as "JSON" in the HTML.When somebody requests a PheWAS: send along the exact
.fields
(union of all traits) andtooltip_template
as "JSON" in the HTML.