reconstructed_position_pair_frequencies.error: Extract the position pair frequencies from haplotypes

reconstructed_position_pair_frequencies.errorR Documentation

Extract the position pair frequencies from haplotypes

Description

Extract the position pair frequencies from haplotypes

Usage

reconstructed_position_pair_frequencies.error(haplotypes, freq, pair_df)

Arguments

haplotypes

a character vector of haplotypes

freq

a numeric vector of haplotype frequencies

pair_df

data.frame produced by position_pairs.error giving position pairs to consider

Value

a data.frame with columns pos1, pos2, nuc1, nuc2, nuc, freq where nuc1, nuc2 are the nucleotides at pos1 and pos2, nuc is nuc1+nuc2, and freq is the frequency


SLeviyang/RegressHaplo documentation built on June 1, 2022, 10:48 p.m.