preprocessing: Performs the pre-processing steps

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

View source: R/preprocessing.R

Description

This function performs any of the following preprocessing steps:

  1. removes Non-Controllable and Non-Observables nodes

  2. compress the model

  3. and-gates expansion

Usage

1
2
preprocessing(data, model, cutNONC=TRUE, compression=TRUE,
    expansion=TRUE, ignoreList=NA, maxInputsPerGate=2, verbose=TRUE)

Arguments

data

the CNOlist that contains the data that you will use

model

the model object as returned by readSIF

cutNONC

Removes the NONC nodes using cutNONC and findNONC (Default is TRUE).

compression

Compress the model using compressModel (Default is TRUE).

expansion

Add and gates using expandGates (Default is TRUE).

ignoreList

an index vector of states to ignore incoming edges in expandGates.

maxInputsPerGate

used by the expandGates function to set maximum inputs per and gates.

verbose

verbose option (Default is TRUE).

Details

The function can apply any or none of the pre-processing steps. It returns the new model and the indices returned by indexFinder.

Value

the new model

Author(s)

T. Cokelaer

See Also

readSIF, readMIDAS, cutNONC, findNONC, compressModel, expandGates.

Examples

1
2
3
data(ToyModel,package="CellNOptR")
data(CNOlistToy,package="CellNOptR")
model = preprocessing(CNOlistToy, ToyModel, cutNONC=FALSE)

CellNOptR documentation built on Nov. 8, 2020, 6:58 p.m.