Finds the orthogonal matrix O that maximises
trace(t(ref) %*% Q %*% O). This removes the sign, permutation and
rotation indeterminacy of principal component bases before they are pooled.
Finds the orthogonal matrix O that maximises
trace(t(ref) %*% Q %*% O). This removes the sign, permutation and
rotation indeterminacy of principal component bases before they are pooled.