Summarize the parameters of the rewired null networks generated by rewire_network()
summarize_null_networks.Rd
Summarize the parameters of the rewired null networks generated by rewire_network()
Usage
summarize_null_networks(
null_nodes_p1,
null_nodes_p2,
network_name_1 = p[[1]],
network_name_2 = p[[2]],
channel = "cfos"
)
Arguments
- null_nodes_p1
Summary table of rewired network properties of all nodes from
rewire_network()
for the first network to compare.- null_nodes_p2
Summary table of rewired network properties of all nodes from
rewire_network()
for the second network to compare- network_name_1
(str) Name of the network
- network_name_2
(str) Name of the network
- channel
(str) channel to process
Value
a list of length 2. The first element is named global_summary
and contains a table of global summary statistics.
The second element is named node_summary
, and contained per node statistics averaged from multiple null networks.
Examples
if (FALSE) {
null_nodes_p1 <- rewire_network(anesthesia,
channels = "cfos",
network_name = "Ctrl",
n_rewires = igraph::gsize(anesthesia$networks$Ctrl$cfos)*100, # no. edge rewires = no. edges in the graph x 100
return_graphs = FALSE)
}