stability_analysis: Performs a stability analysis for each basis vector in a...

Description Usage Arguments Value See Also Examples

View source: R/kcone.R

Description

Performs a stability analysis for each basis vector in a k-cone.

Usage

1
stability_analysis(basis, s_matrix, concs)

Arguments

basis

A basis matrix, where each column denotes a basis vector.

s_matrix

The stochiometric matrix of the model.

concs

A named vector of metabolite concentrations.

Value

A data frame containing the a string describing the type of stability along with its eigenvalues for each vector in the basis.

See Also

polytope_basis and kcone to calculate the k-cone.

Examples

1
2
3
4
5
6
7
8
data(eryth)
S <- matrix(c(1,0,0,1,-1,0, 0, -1), nrow=2)
rownames(S) = c('A', 'B')
V <- polytope_basis(S)
concs <- runif(nrow(S))
names(concs) <- rownames(S)
K <- kcone(V, ma_terms(S, concs))
stab <- stability_analysis(K, S, concs)

cdiener/dycone documentation built on Sept. 9, 2018, 1:20 p.m.