A general framework for functionally informed set-based analysis: Application to a large-scale colorectal cancer study