View source: R/seeker_snp_ld.R
seeker_snp_ld | R Documentation |
A function that returns LD values between the SNP and all other SNP in a window centered around the given SNP.
seeker_snp_ld(
ID,
population = "1000GENOMES:phase_3:MXL",
window_size = 500,
d_prime = 0
)
## S3 method for class 'character'
seeker_snp_ld(
ID,
population = "1000GENOMES:phase_3:MXL",
window_size = 500,
d_prime = 0
)
## S3 method for class 'factor'
seeker_snp_ld(
ID,
population = "1000GENOMES:phase_3:MXL",
window_size = 500,
d_prime = 0
)
## S3 method for class 'data.frame'
seeker_snp_ld(
ID,
population = "1000GENOMES:phase_3:MXL",
window_size = 500,
d_prime = 0
)
ID |
A Single Nucleotide Polymorphism ID ("rs") in character or data.frame |
population |
Population for which to compute LD. Default "1000GENOMES:phase_3:MXL" |
window_size |
Window size in kb. The maximum allowed value for the window size is 500 kb. LD is computed for the given variant and all variants that are located within the specified window. Default 500 |
d_prime |
Measure of LD. If D' is provided only return pairs of variants whose D' value is equal to or greater than the value provided. Default 0 |
A data.frame with the LD information of SNP in a specific population
NULL
NULL
NULL
Erick Cuevas-Fernández
Heriberto Manuel Rivera
https://rest.ensembl.org
seeker_snp_ld("rs56116432")
df <- data.frame(c("rs56116432","rs10878307", "rs7133914", "rs11564148", "rs3761863", "rs10878245"))
seeker_snp_ld(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.