Extracts coefficients from an existing mvSuSiE fit or fits `fitMvsusie()` from `X` and `Y`.
Usage
mvsusieWeights(
mvsusieFit = NULL,
X = NULL,
Y = NULL,
priorVariance = NULL,
residualVariance = NULL,
L = 30,
LGreedy = 5,
verbose = FALSE,
...
)Arguments
- mvsusieFit
Optional fitted mvSuSiE object.
- X
Genotype matrix. Required when `mvsusieFit` is NULL.
- Y
Phenotype matrix. Required when `mvsusieFit` is NULL.
- priorVariance
Optional mvSuSiE prior variance list.
- residualVariance
Optional residual variance matrix.
- L
Maximum number of components.
- LGreedy
Initial greedy number of components.
- verbose
If TRUE, prints mvSuSiE fitting progress.
- ...
Additional arguments passed to `fitMvsusie()` when fitting.