meierlab.networks: Functional Network Connectivity#

Functions

gen_base_graph_from_atlas(atlas[, atlas_delim])

Generate a networkx graph containing atlas/parcellation information.

gen_graph_from_matrix(G, atlas, matrix_file)

Generate a (weighted, undirected) graph from a matrix file.

gen_basic_metrics(G)

Assign some basic graph theory metrics to nodes in a graph.

gen_subnetwork_list(G[, subnetwork_label])

Generate a list of 'subnetworks' used in an atlas/parcellation.

gen_subnetwork_subgraphs(G, subnetwork_list)

Generate 'subgraphs' according to the given 'subnetworks'.

gen_subnetwork_pairs(G, subgraph_list[, ...])

Generate pairs of networks from graph G to explore and compare.

get_within_network_connectivity(subgraph[, ...])

Calculate the average weight of edges in a subgraph.

get_between_network_connectivity(subgraphs)

Calculate the average of weighted edges of each subgraph pair.