intermediateWeights: Correction to intermediate weights

View source: R/intermediateWeights.R

intermediateWeightsR Documentation

Correction to intermediate weights

Description

Computes the correction to current intermediate weights given a set of solution networks

Usage

intermediateWeights(pknList=pknList,models.sel.intAnd=models.sel.intAnd,models.sel=models.sel,models.sel.comb=models.sel.comb,optParam=optParam)

Arguments

pknList

a PKNlist object that has at least elements: intermediates (a character vector of intermediate nodes names), interactions (the starting, complete, interactions data frame)

models.sel.intAnd

matrix of combined intAnd vectors for a set of solution vectors

models.sel

list of solution models

models.sel.comb

combined data frame of solution models

optParam

an OptParam object with at least the element cap (numeric, maximum number of interactions that get copied)

Value

a list with two elements: a data frame of interactions that should be duplicated and a vector of new AndFlipF (the new probability, for each intermediate node, of the AND being sampled)

Author(s)

C. Terfve


saezlab/PHONEMeS-ILP documentation built on June 21, 2022, 5:36 p.m.