Learn R Programming

junctions (version 2.1.0)

calculate_mat: Function to calculate the maximum accurate time

Description

Function that calculates the maximum time after hybridization after which the number of junctions can still be reliably used to estimate the onset of hybridization. This is following equation 15 in Janzen et al. 2018.

Usage

calculate_mat(N = Inf, R = Inf, H_0 = 0.5, C = 1)

Value

The maximum accurate time

Arguments

N

Population Size

R

Number of genetic markers

H_0

Frequency of heterozygosity at t = 0

C

Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)

Examples

Run this code
calculate_mat(N = Inf, R = 1000, H_0 = 0.5, C = 1)

Run the code above in your browser using DataLab