Hi - here's some additional code - I *think* this is the relevant code for what
you're asking about.
Cheers.
% temporary version of vars, useful for various null tests below
grotvars=inormal(vars); grotvars(:,std(grotvars)<1e-10)=[];
grotvars(:,sum(isnan(grotvars)==0)<20)=[];
% permutation
Hi HCP group,
I have a question regarding how to compute the variance explained after
running CCA on the HCP data using the code from http://www.fmrib.ox.ac.uk
/datasets/HCP-CCA/. I ran it on the 461 subject subset with dimensionality
reduced to 100 dimensions. The result from the code is very