Score specimens with a stored-standardization lasso fit
Source:R/singlesample-lasso-std.R
score_lasso_std.RdScore specimens with a stored-standardization lasso fit
Arguments
- model
A fit from
fit_lasso_std().- X
Named abundance vector or specimens-by-features matrix or data frame. Supply the retained nonconstant training features.
- meta
Optional specimen metadata. This scorer does not use it.
Value
Numeric vector of linear predictors for outcome 1. Scoring uses the stored means, standard deviations and coefficients.