This function predicts the baseline (background component) mean read counts for specified GC content values using a fitted model from adp_gcEffects(). It extracts the background GLM model (lmns0) and generates predictions for the provided GC content vector.

pred_baseline_mu0(adp_gcEffects_res, gc)

Arguments

adp_gcEffects_res

A list object returned by adp_gcEffects(), which contains fitted GLM models including lmns0 (the background model).

gc

A numeric vector of GC content values (between 0 and 1) for which baseline predictions are desired. (The processed gc content information from prep_gcEffects_input().)

Value

A numeric vector of predicted baseline mean values (mu0) corresponding to each element in gc.

Details

This is a helper function typically used after fitting GC effects with adp_gcEffects(). It uses the background component model (lmns0) to predict expected read counts at given GC content levels, which can be used for normalization or bias correction.