This function fits the `mr.ash` model (adaptive shrinkage regression) to estimate weights for a given set of predictors and response. It uses optional prior standard deviation initialization and can accept custom initial beta values.
Arguments
- X
Numeric genotype / design matrix (samples x variants).
- y
Numeric response (phenotype) vector of length
nrow(X).- initPriorSd
Logical. Initialize the prior standard-deviation grid from the data. Default
TRUE.- retainFit
Logical. Attach the full fitted-model object to the result. Default
FALSE.- ...
Additional arguments forwarded to
mr.ash.