powered by
Query LDpop API
LDpop(var1, var2, pop = "CEU", r2d = "r2", token = NULL, file = FALSE)
the first RS number or genomic coordinate (e.g. "chr7:24966446")
the second RS number or genomic coordinate (e.g. "ch7:24966446")
a 1000 Genomes Project population(s), (e.g. YRI or CEU), multiple allowed, default = "CEU"
either "r2" for LD R2 or "d" for LD D', default = "r2"
LDlink provided user token, default = NULL, register for token at https://ldlink.nci.nih.gov/?tab=apiaccess
Optional character string naming a path and file for saving results. If file = FALSE, no file will be generated, default = FALSE.
a data frame
# NOT RUN { LDpop(var1 = "rs3", var2 = "rs4", pop = "YRI", r2d = "r2", token = Sys.getenv("LDLINK_TOKEN")) # } # NOT RUN { # }
Run the code above in your browser using DataLab