Description Usage Arguments Details Value Author(s)
The main function for conduction Copula Based Multivariate Association Test.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
y1 |
vector designates the first phenotype (one row-entry per individual), of length n. |
fam1 |
a description of the error distribution and link function to be used in the marginal model of the first phenotype. Can be one of the following:
|
y2 |
vector designates the second phenotype (one row-entry per individual), of length n. |
fam2 |
a description of the error distribution and link function to be used in the marginal model of the second phenotype. Can be one of the following:
|
x |
matrix of covariates including intercept (dimension:n \times k, with k the number of covariates), Default: cbind(rep(1, length(y1))) |
G |
matrix of SNPs (dimension:n \times p, with p the number of SNPs) |
copfit |
character, identifies the copula(s) to use for modeling phenotypes dependence. Can be any one of the following:
, Default: c("Gaussian", "Clayton", "Frank", "Gumbel") |
weight |
logical, should weights be used to increase power for rare variants, Default: FALSE |
weight.para1 |
alpha parameter of beta distribution used to simulate weights, Default: 1 |
weight.para2 |
beta parameter of beta distribution used to simulate weights, Default: 25 |
pval.method |
character, which method to use to calculate p-value. Can be one of the following:
|
When "weight=TRUE", a weighted test is used. The weight for each SNP is a beta fuction of the corresponding minor allele frequency (MAF). There are two parameters, weight.para1 and weight.para2, for beta function. For example, when weight.para1=weight.para2=0.5, the corresponding weight is 1/sqrt(MAF*(1-MAF)); when weight.para=1 and weight.para=25, the corresponding weight is the one suggested by SKAT.
A list containing results of the association test. The output list contains the following results:
p.value
: the p-value of the region-based association test
gamma.y1
: the intercept and covariates estimates from the marginal model of the first phenotype
gamma.y2
: the intercept and covariates estimates from the marginal model of the second phenotype
alpha
: the estimated phenotypic dependence parameter, as a parameter of the used copula
tau
: Kendall's tau, which is a function of the estimated phenotypic dependence parameter alpha
cop
: based on the AIC criterion calculated based on the copula-model
Julien St-Pierre and Karim Oualkacha
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.