View source: R/file_loading_functions.R
load_gemma_gwas | R Documentation |
This function will read a (possibly gzipped) GEMMA results file (.assoc.txt) and return a tibble containing just the scaffold, position, and statistic.
load_gemma_gwas(file, pval = "p_wald")
file |
GEMMA file (.assoc.txt). Can be gzipped. |
pval |
Statistic column to read. This must match the column name exactly and can be one of the following: p_wald, p_lrt, or p_score. |
A three-column tibble containing scaffold, position, and stat
a <- system.file("extdata", "test.gemma_gwas.txt.gz",
package = "gwplotting")
b <- load_gemma_gwas( a, pval = 'p_wald' )
b
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.