p4_functions: Calculate recombination frequency, LOD and log-likelihood...

Description Usage Arguments Value

Description

This group of functions is called by linkage.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
p4_1.0_1.0(x, p1, p2, ncores = 1)

p4_1.0_1.1(x, p1, p2, ncores = 1)

p4_1.0_1.2(x, p1, p2, ncores = 1)

p4_1.0_1.3(x, p1, p2, ncores = 1)

p4_1.0_2.0(x, p1, p2, ncores = 1)

p4_1.0_2.1(x, p1, p2, ncores = 1)

p4_1.0_2.2(x, p1, p2, ncores = 1)

p4_1.1_1.1(x, p1, p2, ncores = 1)

p4_1.1_1.2(x, p1, p2, ncores = 1)

p4_1.1_1.3(x, p1, p2, ncores = 1)

p4_1.1_2.2(x, p1, p2, ncores = 1)

p4_1.2_1.2(x, p1, p2, ncores = 1)

p4_1.2_2.1(x, p1, p2, ncores = 1)

p4_1.2_2.2(x, p1, p2, ncores = 1)

p4_1.3_1.2(x, p1, p2, ncores = 1)

p4_1.3_1.3(x, p1, p2, ncores = 1)

p4_1.3_2.1(x, p1, p2, ncores = 1)

p4_1.3_2.2(x, p1, p2, ncores = 1)

p4_2.0_1.1(x, p1, p2, ncores = 1)

p4_2.0_1.2(x, p1, p2, ncores = 1)

p4_2.0_1.3(x, p1, p2, ncores = 1)

p4_2.0_2.0(x, p1, p2, ncores = 1)

p4_2.0_2.1(x, p1, p2, ncores = 1)

p4_2.0_2.2(x, p1, p2, ncores = 1)

p4_2.1_2.2(x, p1, p2, ncores = 1)

p4_2.2_2.2(x, p1, p2, ncores = 1)

Arguments

x

A frequency table of the different classes of dosages in the progeny. The column names start with "n_". Followed by the dosage of the first marker and then of the second.

p1

Preferential pairing parameter for parent 1, numeric value in range 0 <= p1 < 2/3

p2

Preferential pairing parameter for parent 2, numeric value in range 0 <= p2 < 2/3

ncores

Number of cores to use for parallel processing (deprecated).

Value

A list with the following items:

r_mat

A matrix with recombination frequencies for the different phases

LOD_mat

A matrix with LOD scores for the different phases

logL_mat

A matrix with log likelihood ratios for the different phases

phasing_strategy

A character string specifying the phasing strategy. "MLL" for maximum likelihood en "MINR" for minimum recombination frequency.

possible_phases

The phases between markers that are possible. Same order and length as column names of output matrices.


mdavy86/polymapR documentation built on May 25, 2019, 9:35 p.m.