Skip to main content
. 2014 Aug 20;3:200. [Version 1] doi: 10.12688/f1000research.4867.1

Table S1. The CLAK-C hol and CLAK-E ig algorithms for single-trait and multi-trait analyses, respectively.

CLAK-C hol: Single-trait analysis    CLAK-E ig: Multi-trait analysis
1    M̭ := σ̭ 2( h̭ 2Φ + (1 – h̭ 2) I)
2    LL T = M̭

3    X L := L –1 X L

4    X R := L –1 X R

5    y := L –1 y

6    S TL := X TL X L

7    b T := X TL y

8    for   i = 1:m

9        S:=(STL|*XRiTXL|XRiTXRi)

10       bi:=(bTXRiTy)

11       b i := S i –1 b i
   1    ZWZ T = Φ

2    X L := Z T X L

3    X R := Z T X R

4    Y := Z T Y

5    for   j = 1: t
6        D := ( σ̭ 2 j( h̭ 2 j W + (1 – h̭ 2 j) I)) –1

7        KK T = D

8        Y j := K T Y j

9        W L := K T X L

10       S TL := W TL W L

11       b T := W TL Y j

12       for   i = 1:m

13          W R := K T X R i

14          S:=(STL|*WRTWL|WRTWR)

15          bij:=(bTWRTYj)

16          b ij := S –1 b ij