Description Usage Arguments Details Value Author(s) Examples
Compute model parameters and residuals for ACAT-V
1 | NULL_Model(Y, Z = NULL)
|
Y |
a numeric vector of outcome phenotypes. |
Z |
a numeric matrix of covariates. Z must be full-rank. Do not include intercept in Z. The intercept will be added automatically. |
Y could only be continuous or binary. If Y is continuous, a linear regression model is fitted. If Y is binary, it must be coded as 0,1 and a logistic model is fitted.
This function returns an object that has model parameters and residuals of the NULL model of no association between genetic variables and outcome phenotypes. After obtaining it, please use ACAT_V
function to conduct the association test.
Yaowu Liu
1 2 3 | Y<-rnorm(10000)
Z<-matrix(rnorm(10000*4),ncol=4)
obj<-NULL_Model(Y,Z)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.