nigsp.blocks.plot_metric

nigsp.blocks.plot_metric(scgraph, outprefix, atlas=None, thr=None)[source]

If possible, plot metrics as markerplot.

Parameters:
scgraphSCGraph object

The internal object containing all data.

outprefixstr

The prefix of the png file to export.

img3DNiftiImage | None

The nifti image of the atlas.

atlas3D Nifti1Image, numpy.ndarray, or None, optional

Either a nifti image containing a valid atlas or a set of parcel coordinates.

thrfloat or None, optional

The threshold to use in plotting the nodes.