log_cov | R Documentation |
Perform association tests between phenotype and covariates
log_cov(pheno, covariates, phe.name, cov.name = c("sex", "age", "bmi"))
pheno |
phenotype dataframe - output from makePhenotypes function |
covariates |
covariate dataframe - output from risk_factor function. |
phe.name |
Phenotype name in the data. |
cov.name |
Selected covariate names in the data. By default, cov.name=c("sex","age","bmi"), covariates include sex, age and BMI. |
Outputs association test results with OR, 95% CI, and p-value.
## Not run: log_cov(pheno=phe, covariates=covar, phe.name="hospitalisation", cov.name=c("sex","age","bmi")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.