Hello!
I have a quick question about whether something is possible within the existing LocusZoom libraries.
When creating an association panel for a plot, we use a custom association adapter for our data source so that we can leverage our own APIs to return the required data (such as chromosome, ref allele, alt allele, pvalue, etc...) needed by LocusZoom to generate the panel.
If we were to return additional data in the APIs (i.e.: data fields that are irrelevant to creating the panel), would it still be possible leverage this data elsewhere like in a tooltip? If so, how can that be done?
Example: If our API returned a data field called 'RSID', could we reference 'RSID' in a tooltip?
I saw in the documentation that you can reference fields using {{<assoc_name>:fieldname}} but I've only been able to get that to work for the fields that LocusZoom knows about.
Thanks so much!
Anthony
P.S.: LocusZoom has been a great tool for us. Thanks so much for continuing to support the project!
Hello!
I have a quick question about whether something is possible within the existing LocusZoom libraries.
When creating an association panel for a plot, we use a custom association adapter for our data source so that we can leverage our own APIs to return the required data (such as chromosome, ref allele, alt allele, pvalue, etc...) needed by LocusZoom to generate the panel.
If we were to return additional data in the APIs (i.e.: data fields that are irrelevant to creating the panel), would it still be possible leverage this data elsewhere like in a tooltip? If so, how can that be done?
Example: If our API returned a data field called 'RSID', could we reference 'RSID' in a tooltip?
I saw in the documentation that you can reference fields using
{{<assoc_name>:fieldname}}but I've only been able to get that to work for the fields that LocusZoom knows about.Thanks so much!
Anthony
P.S.: LocusZoom has been a great tool for us. Thanks so much for continuing to support the project!