Skip to content

Easier Way to Use Custom LD? #204

Description

@ttbek

If I'm reading the code correctly, in order to use my own LD I would need to actually change the source passed to locuszoom.js, find the calls used while populating in locuszoom.js, and then set up our own restful API server to give the json response?

Does the following match the call format used in locuszoom.js? That is, does it use the region call like that?
https://portaldev.sph.umich.edu/ld/genome_builds/GRCh37/references/1000G/populations/AFR/regions?correlation=r&chrom=X&start=67544032&stop=67544350

Is there an easier way to load from a local precalculated LD file?

Maybe customize the locuszoom.js (means loading the changed version from our server instead of the currently set source) by changing their populate function?

I'm a bit unsure what the best approach would be here. Preferably we would also still be able to load the 1000 genomes LD values but we want to also display some custom ones.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions