statgen / locuszoom-hosted

A web service to upload and share GWAS results with LocusZoom.js
https://my.locuszoom.org
MIT License
1 stars 0 forks source link

Add "ldrefvar" to URL #26

Closed abought closed 2 years ago

abought commented 3 years ago

Allow users to link to a plot with a specific LD reference variant already pre-set.

This can be done for the current (one refvar) situation by telling DynamicURLs to expose the state.ldrefvar option, so that when a user selects a manual LD refvar, it will be serialized into the URL.

As we work to implement multiple LD refvars, this may require updating the core LZ extension to handle "array values". (multiple ldrefvars)