Closed abought closed 3 years ago
For record keeping: work in progress branch here: https://github.com/abought/locuszoom/tree/feature/gh168-coalesce-snps
This adds the basic coalescing mechanism; much work needs to be done on performance testing dense files, connecting this to rendering, and validating calculation results. Leaving a note to self as I work on a few other features first.
LocusZoom is limited from showing very large regions (or very dense datasets) by the need to render each element as SVG. We should explore ways to reduce the load on the DOM, given a lot of data. Eg:
If the data is coalesced on the frontend, then all region-based calculations will still work (because subscribing happens at the data layer, and point coalescing would occur at the rendering stage). If data is coalesced on the backend,
weight
parameters would be needed to preserve the meaning of calculations such as credible sets or aggregation tests.