integratorWeights: Integrator weights correction

View source: R/integratorWeights.R

integratorWeightsR Documentation

Integrator weights correction

Description

Computes the correction to edges weight for integrator nodes, based on a set of solution models

Usage

integratorWeights(models.sel=models.sel, pknList=pknList, models.sel.intgAnd=models.sel.intgAnd,models.sel.comb=models.sel.comb,optParam=optParam)

Arguments

models.sel

list of solution networks

pknList

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

models.sel.intgAnd

matrix of combined intgAnd vectors for a set of solution vectors - this is only necessary if intgAsintm is TRUE, otherwise it can be set to NA

models.sel.comb

combined data frame of solution models - this is only necessary if intgAsintm is TRUE, otherwise it can be set to NA

optParam

an OptParam object with at least the elements intgAsintm (logical, should the integrators be treated as intermediates) and cap (numeric, maximum number of interactions that get copied)

Value

a list with elements integrators2paste which is a data frame of interactions to be copied, and 2 vectors AndBinF and NoneBinF with an element for each integrator node. AndBinF is a new probability of the AND being sampled (if intgAsintm=TRUE) or an integer that corrects the bin size for the AND sampling (if intgAsintm=FALSE). NoneBinF is an integer that corrects the bin size for "no edge" (if intgAsintm=FALSE).

Author(s)

C. Terfve


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