Methods in functional data analysis and functional genomics