Commit e97684ea authored by Sam Harrison's avatar Sam Harrison
Browse files

Calculate spatial/temporal netmat interactions

I.e. the NAF2 stroy from Bijsterbosch et al., eLife, 2019.
parent 2d75d117
......@@ -219,4 +219,17 @@ scores.pcA_xs.range = [-1.0, 1.0];
%--------------------------------------------------------------------------
% And do the netmats bias one another (NAF2)?
% Repeat spatial correlations to get per-run metrics
inf_cPz = repelem(inf_cPz, 1, params.R);
% Each element, across subjects (i.e. behavioural prediction)
scores.cP_pcA_xs.data = diag(corr(inf_cPz', inf_pcAz'));
%scores.cP_pcA_xs.data = reshape(corr(inf_cPz', inf_pcAz'), [], 1);
scores.cP_pcA_xs.name = 'Spatial-temporal netmat interactions (cross subject)';
scores.cP_pcA_xs.metric = 'Correlation';
scores.cP_pcA_xs.range = [-1.0, 1.0];
%--------------------------------------------------------------------------
end
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment