xwas | R Documentation |
this is a function to run an exposure wide association study (XWAS) with any phenotype and a set of exposure variables
xwas(df, X, cov, mod, IDA, removes = NULL, fdr = TRUE)
df |
the data frame inpt |
X |
column name of exposure variables to run XWAS |
cov |
column name of covariates |
mod |
type of model to run; 'lm' for linear regression, 'logistic' for logistic regression; 'cox' for Cox regression |
IDA |
list of IDs to include in XWAS |
removes |
any exposure response to remove from XWAS, in the form of a list |
fdr |
whether or not to adjust for multiple hypothesis correctin |
Yixuan He, yixuan_he@hms.harvard.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.