powered by
Define a network providing its matrix of interactions and specifying the functions groups in row and col.
defineNetwork(mat, typeInter, rowFG, colFG)
a list object formatted for the GREMLINS package
An adjacency matrix (symmetric or not) or an incidence matrix
Type of the matrix, choice between "inc" (incidence), "adj" (adjacency) and "diradj" (directed adjacency)
Name of the functional group in row
Name of the function group in column
A <- matrix(rbinom(100,1,.2),10,10) type <- "diradj" defineNetwork(A,"diradj","FG1","FG1")
Run the code above in your browser using DataLab