checkSignals: Check the CNOlist and model matching

View source: R/checkSignals.R

checkSignalsR Documentation

Check the CNOlist and model matching

Description

This function checks that all the signals in a CNOlist match to species in the model. It also checks that the CNOlist and Model lists have the right format and contain the right fields. It is called by the preprocessing function so there is no need to call it directly anymore if you use the preprocessing function.

In version 1.3.20, check of inhibitors and stimuli is also performed.

Usage

checkSignals(CNOlist, model)

Arguments

CNOlist

A CNOlist structure, as created by makeCNOlist.

model

A model structure, as created by readSIF.

Details

If the formats are wrong, this function produces an error. If the signals/inhibitors/stimuli do not match the species, this function produces a warning that explains which signals does no match any species.

Author(s)

C. Terfve, T. Cokelaer

See Also

makeCNOlist, readSIF, preprocessing

Examples

data(CNOlistToy, package="CellNOptR")
data(ToyModel, package="CellNOptR")
checkSignals(CNOlistToy, ToyModel)

saezlab/CellNOptR documentation built on April 16, 2024, 5:21 a.m.