calculate_average_ld {GenomeAdmixR} | R Documentation |
Calculates the ld between two alleles
Description
calculate the average ld between two loci
Usage
calculate_average_ld(alleles_pos_1, alleles_pos_2)
Arguments
alleles_pos_1 |
alleles at locus 1 |
alleles_pos_2 |
alleles at locus 2 |
Value
a list with two entries: LD and r_squared
[Package GenomeAdmixR version 2.1.7 Index]