Description Usage Arguments Details Value See Also Examples
Determines the type of all regulation groups from the matrix of co-regulation coefficients
1 | group_types(beta_fun)
|
beta_fun |
Matrix of co-regulation coefficients |
Regulation groups exist in three types :
positive group, when all regulation coefficients are positive
negative group, when it exists at least one negative regulation coefficients in the group
singletons, when enzyme is lone in the group, and is therefore independent from all others enzymes
The position of the groups is determined from the list of regulation, computed with function class_group
.
Return a list of three elements that contains the numbers of the regulation groups:
$grp_pos
: numeric vector containing the position of positive groups
$grp_single
: numeric vector containing the position of singletons
$grp_neg
: numeric vector containing the position of negative groups
If there is no group of a type, the corresponding element returns NULL
instead of a numeric vector.
Function class_group
to compute the list of regulation groups
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #Only one group
beta <- matrix(c(1,10,5,0.1,1,0.5,0.2,2,1),nrow=3)
L_Phi <- class_group(beta)
group_types(beta) #gives c(1), NULL and NULL
#Two groups
n <- 3
beta <- diag(1,n)
beta[1,2] <- -0.32
beta[2,1] <- 1/beta[1,2]
L_Phi <- class_group(beta)
group_types(beta) #gives NULL, c(2) and c(1)
#with data
data(data_sim_RegNeg_1grpNeg1grpPos)
group_types(data_sim_RegNeg_1grpNeg1grpPos$param$beta)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.