calculate_average_ld | R Documentation |
calculate the average ld between two loci
calculate_average_ld(alleles_pos_1, alleles_pos_2)
alleles_pos_1 |
alleles at locus 1 |
alleles_pos_2 |
alleles at locus 2 |
a list with two entries: LD and r_squared
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.