xcp_d.utils.plotting.plot_design_matrix

xcp_d.utils.plotting.plot_design_matrix(design_matrix, temporal_mask=None)[source]

Plot design matrix TSV with Nilearn.

NOTE: This is a Node function.

Parameters:
  • design_matrix (str) – Path to TSV file containing the design matrix.

  • temporal_mask (str, optional) – Path to TSV file containing a list of volumes to censor.

Returns:

design_matrix_figure – Path to SVG figure file.

Return type:

str