R/fct_network_inference.R
network_thresholding.Rd
Without thresholding, we would obtain a fully connected weighted graph from GENIE3, with far too many links to be interpretable. In order build a meaningful network, this weighted adjacency matrix between regulators and targets has to be sparsified, and we have to determine the regulatory weights that we consider significant.
This method is a nice exploratory way to threshold complete networks,
but to get more robust and significant results, consider using
the DIANE::test_edges()
function.
network_thresholding(mat, n_edges)
mat | matrix containing the importance values for each target and regulator,
as returned by |
---|---|
n_edges | number of edges top edges to keep in the final network. |
igraph object representing the Gene Regulatory Network