The goal of subpca is to provide a way of computing pca within sub-blocks and then a second (“metapca”) over each cluster-wise pca.
You can install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("bbuchsbaum/subpca")