SMA | R Documentation |
Performs Single Marker Association tests for both Linear Mixed Models and Linear models.
SMA(Y, SNPs, kinship = FALSE, P3D = FALSE)
Y |
The observed numeric phenotypes |
SNPs |
The SNP matrix, where each column represents a single SNP encoded as the numeric coding 0, 1, 2. This is entered as a matrix object. |
kinship |
The observed kinship matrix, has to be a square positive semidefinite matrix. Defaulted as the identity matrix. The function used to create the kinship matrix used in the BICOSS paper is A.mat() from package rrBLUP. |
P3D |
Population previous determined, if TRUE BICOSS uses approximated variance parameters estimated from the baseline model when conducting both the screening and the model selection steps. Setting P3D = TRUE is significantly faster. If FALSE, uses exact estimates of the variance parameters all models in both the screening and model selection step. |
The p-values corresponding to every column provided in SNPs. These p-values can be used with any threshold of your choosing or with p.adjust().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.