Evers, L., and T. Heaton. “Locally Adaptive Tree-Based Thresholding Using the Treethresh Package in R”. Journal of Statistical Software, Code Snippets, vol. 78, no. 2, July 2017, pp. 1-22, doi:10.18637/jss.v078.c02.