check_multi_gwas {MungeSumstats}R Documentation

Ensure that only one model in GWAS sumstats or only one trait tested

Description

Ensure that only one model in GWAS sumstats or only one trait tested

Usage

check_multi_gwas(sumstats_dt, path, analysis_trait)

Arguments

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

Value

list containing sumstats_dt, the modified summary statistics data table object


[Package MungeSumstats version 1.0.1 Index]