Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.

meierlab.viz.network_viz.plot_subgraph_nodes#

meierlab.viz.network_viz.plot_subgraph_nodes(subgraph, atlas_coords, size=10)[source]#

Plot the nodes of a subgraph.

Parameters:
subgraphnetworkx.Graph.subgraph

Subgraph with nodes containing label and color information.

atlas_coordsnumpy.ndarray

Atlas coordinates.

sizeint, optional

Node marker size, by default 10.

Returns:
viewnilearn.plotting.html_connectome.ConnectomeView

Nilearn connectome viewer with the nodes from the subgraph. Save as an html page of view using ‘open_in_browser’ method.

Examples

>>> from meierlab.viz import network_viz as nv