Menu

Module providing Consciousness Exploration Tools for PyTorch.

Note

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

consciousnet.plotting.plot_circo(adj, names, hemi_groups, group_names, group_colors, outdir, with_labels=False)[source]

Generate a circular flow charts plot using singularity and graph-tools.

Parameters

adj : array (N, N)

the adjacency matrix.

names : list of str (N, )

the node names.

hemi_groups : list of int (N, )

the hemisphere tag labels.

group_names : list of str (N, )

the nodes associated group names.

group_colors : list of 3-uplet

the nodes associated group colors.

outdir : str

the destination folder.

with_labels : bool, default False

optionnaly display the group names.

Returns

circo_file : str

the generated chart.

Follow us

© 2021, consciousnet developers