calculate_average_ld: Calculates the ld between two alleles

Description Usage Arguments Value

View source: R/calculate_ld.R

Description

calculate the average ld between two loci

Usage

1
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


thijsjanzen/GenomeAdmixR documentation built on Oct. 20, 2019, 6:06 a.m.