scale.zscore.Rd
Standardize z-scores.
scale.zscore(Z, V.t, D, stdize = TRUE)
z-score matrix
t(V) matrix of the SVD result on genotype matrix
D diagonal elements of the SVD result on genotype matrix
standardize if TRUE, otherwise just center the mean
locally standardized z-score matrix
Estimate \(\mu\) and \(\tau\) parameters in the model: $$\mathbf{z} \sim \mathcal{N}\!\left(R (\mu I), \tau^{2}R \right)$$ then standardize z-scores by $$\mathbf{z} \gets (\mathbf{z} - \mu I) / \tau.$$