Adapted WF_corrmat.m to take roiMask as argument and implements plots only on masked ROIs. Adapted WF_corrmat_plot for cases in which the number of ROIs is not 824 nor 818.
usage:
WF_maskROIs(proj_meta(1).ExpGroup(1), {HAS_meta_norm(1).rd(1).ROIinfo.indices})
> select ROIs you want to discard by pressing on them, or going over them with mouse left key pressed.
> press 'm' to save current roiMask (818x1 logical) in your workspace.
[corrmats, ~] = WF_corrmat(proj_meta, 'roiMask', roiMask); to compute correlations only on the ROIs selected by roiMask.