do_metabowas | R Documentation |
This helper function is called when doing Metabolites wide association analysis. It reports the results of linear regression models to study the association of a test variable to each metabolites individually and corrected for the covariates indicated.
do_metabowas( phen, dat, test_variable = "age", covariates = c("sex"), adj_method = "BH", quiet = TRUE )
phen |
phenotypes data.frame |
dat |
metabolites data.frame |
test_variable |
the variable to be investigated |
covariates |
the covariates that you want to add |
adj_method |
correction method. |
quiet |
if FALSE it will plot the amount of people avaialble |
results= the results of the MetaboWAS (estimate, tstatistics, pvalue, BH corrected pvalue)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.