| fuzzygene_regulation_matrix {FuzzyGene} | R Documentation |
fuzzygene_regulation_matrix(fuzzygene,
layout = "square",
minWeight = 0,
genes = NULL);
Rows are target genes, columns are regulators, and the element W[i, j] is the signed influence of regulator j on target i (the average analytic partial derivative dx_target/dx_regulator): positive means activation, negative means repression, zero means no modelled edge.
The result is a standard Matrix object, so it can be written directly with geneExpression::write.expr_matrix() or fed into downstream network analysis:
let w = fuzzygene::fuzzygene_regulation_matrix(model, layout = "compact");
geneExpression::write.expr_matrix(w, file = "/path/to/network_weight.csv", id = "geneID");
Layouts: square (strict N x N, rows and columns are all model genes), regulators (columns limited to genes that really appear as regulators) and compact (rows = targets with at least one edge, columns = regulators). For a genome scale model the square layout is N^2 doubles (about 2.7 GB for 18,533 genes), so prefer compact/regulators together with the genes row filter.
a Matrix object (rows = targets, columns = regulators)