Find which species in the model are states.

Description

Receives an adjacency matrix (model$interMat from CellNoptR) and finds which species are states (i.e. not inputs).

Usage

1
	getStates(adjacency)

Arguments

adjacency

An adjacency matrix from the model.

Value

A numeric vector with 0's for positions which are states and 1's for positions which are.

Note

For internal use of CNORode.

Author(s)

David Henriques, Thomas Cokelaer

See Also

incidence2Adjacency

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.