check_multi_gwas {MungeSumstats} | R Documentation |
Ensure that only one model in GWAS sumstats or only one trait tested
check_multi_gwas(sumstats_dt, path, analysis_trait)
sumstats_dt |
data table obj of the summary statistics file for the GWAS |
path |
Filepath for the summary statistics file to be formatted |
analysis_trait |
If multiple traits were studied, name of the trait for analysis from the GWAS. Default is NULL |
list containing sumstats_dt, the modified summary statistics data table object