View source: R/read_emmax_ps.R
read_emmax_ps | R Documentation |
Parses the output generated by EMMAX (genetic assocation test). Returned table has standard column names.
read_emmax_ps(file, maf = NULL, ext = "ps", verbose = TRUE)
file |
The file path to read, possibly missing the extension. |
maf |
Optional vector of allele frequencies (misnamed, these cannot be minor allele frequencies or nothing gets corrected), used to correct signs of regression coefficients (EMMAX reports them in terms of the major allele, not the original allele). If missing, no corrections are applied. |
ext |
The expected file extension.
Set to |
verbose |
If |
The table as a tibble
.
The original does not have a header line.
Output has 3 columns named: "id", "beta", "p".
emmax_lmm()
wrapper for executing EMMAX and reading the results.
## Not run:
data <- read_emmax_ps( file, maf )
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.