Other trait types
SPAGRM is particularly suitable for the analysis of complex traits with complicated structure, and the application of complex statistical models. Here we display how to use SPAGRM to analyze quantitative and binary traits. User only need to fit a linear/logistic regression for quantitative/binary traits and pass the model residuals to SPAGRM.