This function loads the power values with corresponding avg_log2FC and avg_PCT derived from bootstrap sampling
and utilizes the scam package to fit two dimensional
smoothing splines under monotone constraints: 1.positive relationship between power and avg_log2FC;
2.positive relationship between power and avg_PCT. The values of avg_log2FC and avg_PCT can be either
from the averages of the bootstrap samples or from the original spatial transcriptomics data.