Permutation test to get joint components ranks
permmatRank_joint(matchedResults, nperms = 100)
a list of matrixes ## pvalues: pvalues for the matched colunmns don't have correlation. ## corrperm: correlation value for original Mx with each random permutation of My. ## corrmatched: the correlation for each pair of matched columns.
results generated by angleMatchICA
the number of permutation