CNORfeeder is an add-on to CellNOptR that permits to extend
a network derived from literature with links derived in a strictly data-driven
way and supported by protein-protein interactions as described in:
CellNOpt-Feeder is currently available for the installation as an R-package from our GitHub page
# Install CARNIVAL from Github using devtools
# install.packages('devtools') # in case devtools hasn't been installed
library(devtools)
install_github('saezlab/CNORfeeder', build_vignettes = TRUE)
# or download the source file from GitHub and install from source
install.packages('path_to_extracted_CNORfeeder-main_directory', repos = NULL, type="source")
Toy Example
Here we show how Dynamic-Feeder can be applied on a single execution script over a simple toy example (ToyMMB).
# loading the model
data(ToyModel_Gene, package="CNORfeeder")
# loading the data
data(CNOlistToy_Gene, package="CNORfeeder")
# plotting the model and the data
plotModel(model = model, CNOlist = cnolist)
plotCNOlist(CNOlist = cnolist)
## Loading database
data(database, package="CNORfeeder")
Setting the initial parameters (here parameters ‘k’ and ‘tau’ are optimised and ‘n’ fixed to 3) and optimization settings for the initial training of the model.
Identifying the mis-fits (measurements with mse worse than 0.05) and interactions from the database which we want to integrate (on this case only through data-driven method)
## Identifying which measured nodes at which experimental condition have a worse
## fit in terms of mse value compared to the specified threshold mseThresh value
indices = identifyMisfitIndices(cnolist = cnolist, model = model,
simData = simData, mseThresh = 0.05)
## Alternatively, users can bypass the initial training of the model and add
## new links through the FEED or database search regardless how well some
## measurements were already fitted simply by setting simData=NULL
# indices = identifyMisfitIndices(cnolist = cnolist, model = model, simData = NULL)
## Obtaining the object indicating which measurements at which condition are
## poorly fitted
feederObject = buildFeederObjectDynamic(model = model, cnolist = cnolist,
indices = indices, database = NULL, DDN = TRUE)
## Integration of new links
integratedModel = integrateLinks(feederObject = feederObject,
cnolist = cnolist)
Plotting the integrated model by highlighting in purple the new added links to the PKN
Optimizing the integrated model with low penalty factor (lambda = 2) of the integrated links - here we observe the effects of the new links on the improvements in the fitting quality
Optimizing the integrated model with high penalty factor (lambda_k = 10000) of the integrated links - here we do not observe any effects of the new links on the improvements in the fitting quality
CNORfeeder
CNORfeeder is an add-on to CellNOptR that permits to extend a network derived from literature with links derived in a strictly data-driven way and supported by protein-protein interactions as described in:
F. Eduati, J. De Las Rivas, B. Di Camillo, G. Toffolo, J. Saez-Rodriguez. Integrating literature-constrained and data-driven inference of signalling networks. Bioinformatics, 2012 , 28 (18)
E. Gjerga, P. Trairatphisan, A. Gabor, H. Koch, C. Chevalier, F. Ceccarelli, A. Dugourd, A. Mitsos, J. Saez0Rodriguez. Converting networks to predictive logic models from perturbation signalling data with CellNOpt. biRxiv, 2020 , 28 (18)
Requirements
All network modelling steps were performed in R v3.5.1 and visualised using Cytoscape v3.4.
Other prerequisites include downloading and installing the following
Rpackage dependencies:Bioconductor
CRAN
Installation
CellNOpt-Feeder is currently available for the installation as an R-package from our GitHub page
Toy Example
Here we show how Dynamic-Feeder can be applied on a single execution script over a simple toy example (ToyMMB).
Sourcing all the necessary packages
Loading the toy example
Setting the initial parameters (here parameters ‘k’ and ‘tau’ are optimised and ‘n’ fixed to 3) and optimization settings for the initial training of the model.
Initial training of the model
Identifying the mis-fits (measurements with mse worse than 0.05) and interactions from the database which we want to integrate (on this case only through data-driven method)
Plotting the integrated model by highlighting in purple the new added links to the PKN
Setting the initial ODE parameters to optimize for the integrated model
Optimizing the integrated model with low penalty factor (lambda = 2) of the integrated links - here we observe the effects of the new links on the improvements in the fitting quality
Optimizing the integrated model with high penalty factor (lambda_k = 10000) of the integrated links - here we do not observe any effects of the new links on the improvements in the fitting quality