Learn R Programming

SEAGLE (version 1.0.1)

Rinv.AtG: Function for applying R inverse to AtG in REML EM algorithm

Description

Function for applying R inverse to AtG in REML EM algorithm

Usage

Rinv.AtG(G, AtG, GtAAtG, tau, sigma)

Arguments

G

Matrix of genotype markers (size n x L)

AtG

AtG from pre-computation

GtAAtG

GtAAtG from pre-computation

tau

Variance component from G main effect

sigma

Variance component from model noise epsilon

Value

Matrix resulting from left multiplication of Rinv with input matrix AtG