Learn R Programming

CellNOptR (version 1.18.0)

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

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

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)

Value

a vector of indices of species to remove

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.

See Also

cutNONC, indexFinder, readSIF

Examples

Run this code
    data(CNOlistToy, package="CellNOptR")
    data(ToyModel, package="CellNOptR")
    checkSignals(CNOlistToy, ToyModel)
    indicesToy <- indexFinder(CNOlistToy, ToyModel)
    ToyNCNOindices <- findNONC(ToyModel, indicesToy)

Run the code above in your browser using DataLab