e_step: E-step

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Calculate posterior expectations given maximized estimate for π, the proportion of observations (e.g. SNPs) coming from each association pattern.

Usage

1
e_step(old_pi, Dmat)

Arguments

old_pi

vector of association pattern proportions, fit through maximization.

Dmat

matrix of conditional joint densities under each association pattern.

Value

A matrix estimating the posterior expectations (i.e. estimated proportion of observations belonging to each association pattern).


kjgleason/primo documentation built on Sept. 7, 2021, 5:21 p.m.