calculate_LD | R Documentation |
Calculate LD R^2 between pairs of loci
snpdata = calculate_LD(snpdata, min.r2=0.2, inter.chrom=FALSE, chroms=c("Pf3D7_04_v3","Pf3D7_05_v3"))
snpdata |
SNPdata object |
min.r2 |
the minimum r2 value below which the LD value is not reported |
inter.chrom |
whether to calculate inter-chromosomal LD. FALSE by default |
chroms |
a vector of chromosome names for which LD should be calculated |
the output file from LD calculation could be large. In order to reduce the size of that file, it's recommended to specify the list of chromosomes for which LD should be calculated using the 'chroms' option
SNPdata object with an extra field: LD
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.