retrieveLD_LDproxy | R Documentation |
Retrieve SNP pairwise LD from LDlink database
retrieveLD_LDproxy(
targetSnp = "",
population = "EUR",
windowSize = 50000,
method = "download",
genomeVersion = "grch38",
max_count = 3,
token = "9246d2db7917"
)
targetSnp |
target SNP, support dbSNP IP. |
population |
Supported population is consistent with the LDlink, which can be listed using function LDlinkR::list_pop() |
windowSize |
Window around the highlighted snp for querying linkage disequilibrium information. Default:500000 |
method |
The same as fetchContent function, can be chosen from "download", "curl", "GetWithHeader". |
genomeVersion |
"grch38"(default) or "grch37". |
max_count |
To prevent download failure due to network fluctuations, max number of connection attempts. |
token |
Ldlink token, default: "9246d2db7917" |
A data.table object.
# snpLD <- retrieveLD_LDproxy("rs3", windowSize=5000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.