findNONC: Find the indexes of the non-observable and non controllable...

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

View source: R/findNONC.R

Description

This function finds the indexes of the non-observable and non controllable species and returns the indices, in the model, of the species to remove

Usage

1
findNONC(model, indexes, verbose=FALSE)

Arguments

model

a model structure, as created by readSIF

indexes

a list of indexes of the species stimulated/inhibited/measured, as created by indexFinder from a model.

verbose

verbose option (default to FALSE)

Details

This function uses the function floyd.warshall.all.pairs.sp from the package RBGL. Non observable nodes are those that do not have a path to any measured species in the model, whereas non controllable nodes are those that do not receive any information from a species that is perturbed in the data.

Value

a vector of indices of species to remove

Note

No need to call this function directly since version 0.99.24. Use preprocessing instead.

Author(s)

C. Terfve

See Also

cutNONC, indexFinder, readSIF

Examples

1
2
3
4
5
    data(CNOlistToy, package="CellNOptR")
    data(ToyModel, package="CellNOptR")
    checkSignals(CNOlistToy, ToyModel)
    indicesToy <- indexFinder(CNOlistToy, ToyModel)
    ToyNCNOindices <- findNONC(ToyModel, indicesToy)

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