mapDDN2model {CNORfeeder} | R Documentation

## Integrate data-drive network with the model

### 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

    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

    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)

[Package CNORfeeder version 1.28.0 Index]