computeDWNW_aux: Down weights computation (aux)

View source: R/weights.R

computeDWNW_auxR Documentation

Down weights computation (aux)

Description

Computes the Down weights formula using a Dinamic Programming approach (recursion), see vignettes for further explaination.

Usage

computeDWNW_aux(g, edge, freqs, no.of.children, A, normUpWeights)

Arguments

g

graph (a Directed Acyclic Graph)

edge

the currently considered edge

freqs

observed genotype frequencies

no.of.children

number of children for each node

A

adjacency matrix of G

normUpWeights

normalized up weights as computed by normalizeUPW

Value

a vector containing the Up weights for each edge


redsnic/CIMICE documentation built on March 30, 2022, 2:46 a.m.