added threshold to clusterPCA