Skip to main content

Table 2 The content of the core data structures representing forward and backward table objects, together with their correspondence to mathematical quantities

From: kalis: a modern implementation of the Li & Stephens model for local ancestry inference in R

kalisForwardTable object

kalisBackwardTable object

Data type

alpha

\(= \alpha ^\ell _{\cdot \cdot }\)

beta

\(= \beta ^\ell _{\cdot \cdot }\)

\(N \times N\) matrix

alpha.f

\(= F^\ell\)

beta.g

\(= G^\ell\)

Vector length N

l

\(= \ell\)

l

\(= \ell\)

Integer scalar

from_recipient

from_recipient

Integer scalar

to_recipient

to_recipient

Integer scalar

pars.sha256

pars.sha256

Character

 

beta.theta

Logical scalar