Description Usage Arguments Details Value Author(s) Examples
Compute the null model parameters and residuals for MultiSKAT_Kins. The values and residuals from here are used to compute the MultiSKAT_Kins test (MultiSKAT with kinship adjustment).
1 | MultiSKAT_NULL_Kins(y.mat, X, U, D, V_g,V_e)
|
y.mat |
A numeric matrix of phenotype values with rows as individuals and columns as phenotypes. |
X |
A numeric matrix of covariate values with rows as individuals and columns as covariates. The first column should be the intercept (a vector of 1's) |
U |
Spectral vector matrix of the Kinship matrix. |
D |
Spectral values matrix of the Kinship matrix |
V_g |
Co-heritability matrix |
V_e |
Residual variance matrix |
Estimation of the coheritability and residual variance matrices should be as accurate as possible, otherwise it can hamper the false positive rates of the corresponding MultiSKAT tests.
This function returns an null object of the class MultiSKAT_NULL_related. This object contains details, values and residuals for computing MultiSKAT test statistic and the null distribution.
Diptavo Dutta
1 2 3 4 | data(MultiSKAT.Kinship.example.data)
attach(MultiSKAT.Kinship.example.data)
obj.null = MultiSKAT_NULL_Kins(Phenotypes,Cov,U,D,V_g,V_e)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.