adapt_gam function

Adaptive P-value Thresholding with Generalized Additive Models