IBDparameters: IBDparameters() calculates IBD probabilities then estimates...

Description Usage Arguments Value

Description

IBDparameters() calculates IBD probabilities then estimates the number of meiosis for an isolate pair.

Usage

1
IBDparameters(genotypes, pop_allele_freqs, gender_1, gender_2)

Arguments

genotypes

An integer matrix of genotype calls for a pair of isolates. Each coloumn represents and isolate and each row represents a SNP.

pop_allele_freqs

A numeric vector of population allele frequencies for each SNP.

gender_1

An integer denoting the MOI value of isoalte 1.

gender_2

An integer denoting the MOI value of isoalte 2.

Value

A vector of 4 values representing the number of meiosis and the probabilities of sharing 0, 1 and 2 alleles IBD respectively.


bahlolab/isoRelate documentation built on May 11, 2019, 5:25 p.m.