mapDDN2model: Integrate data-drive network with the model

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/mapDDN2model.R

Description

This function integrates the data-driven network (in sif format) with the network encoded in the model (generally derived from prior knowledge), adding links that are missing.

Usage

1
mapDDN2model(DDN,model,CNOlist,allInter=TRUE)

Arguments

DDN

a sif file encoding a data-driven network, as created by Binference or MIinference

model

a model list, as created by readSif

CNOlist

a CNOlist, as created by makeCNOlist

allInter

one new link in the network can correspond to more links in the model, set it to TRUE if you want to add all possible links, FALSE to add only one link, default is TRUE

Details

The function receives as input a sif file with the data-driven network, as created by Binference or MIinference, and integrates it with the model, returning a new model with the integrated links.

Value

a new Model with the integrated links and an additional field:

indexIntegr

a vector with the indexes of the integrated links

Author(s)

F.Eduati

See Also

readSif, readMIDAS, Binference, MIinference

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
data(CNOlistDREAM,package="CellNOptR")
data(DreamModel,package="CellNOptR")
model<-preprocessing(data=CNOlistDREAM, model=DreamModel)

## Not run: 
DDN<-Binference(CNOlistDREAM, tempCheckOrders=10, maxIter=100,
                filename="BAYESIAN")

modelIntegr<-mapDDN2model(DDN=DDN,model=model,CNOlist=CNOlistDREAM)
 

## End(Not run)

saezlab/CellNOpt-Feeder documentation built on Jan. 23, 2020, 2:36 p.m.