TAG principal component analysis