This is an internal function that does the actual fitting of the regression
model to the spike-in control data, and is called by jgi_normalize_features()
via a purrr::map()
call after nesting the data.
Details
The output is a workflow object that can be used for fitting with
broom::augment(parsnip::extract_fit_engine(x))
.
See also
Other "spike-ins":
get_normalized_controls()
,
get_normalized_features()
,
jgi_feature_df()
,
jgi_normalize_features()
,
jgi_sample_df()
,
jgi_source_df()