Description Usage Arguments Details Value Examples
The function creates a scaling function to be used for linear algebra operations on FBMs through the fun.scaling argument in downstream functions from bigstatsr.
1 | big_scale_grm(center = TRUE, scale = TRUE, M)
|
center |
Center? |
scale |
Scale? |
M |
A normalization value. It is typically equal to the number of columns in a matrix (for which the scaling function is created). |
The scaling function works such that the input matrix of raw genotypes is represented as a matrix Z, which cross product is the genetic relationship matrix (GRM), defined as scale(G) scale(G)' / M. In other words, GRM = ZZ'.
A function that returns a data.frame with two columns "center" and "scale".
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.