The PERFect software is freely available at https://github.com/katiasmirn/PERFect and can be installed using the following codes in R:
library(devtools) install_github("katiasmirn/PERFect")