check_no_snp {MungeSumstats}R Documentation

Ensure that SNP is present if not can find it with CHR and BP

Description

Ensure that SNP is present if not can find it with CHR and BP

Usage

check_no_snp(sumstats_dt, path, ref_genome, verbose = TRUE)

Arguments

sumstats_dt

data table obj of the summary statistics file for the GWAS

path

Filepath for the summary statistics file to be formatted

ref_genome

name of the reference genome used for the GWAS (GRCh37 or GRCh38)

verbose

should messages be printed. Default it TRUE.

Value

list containing sumstats_dt, the modified summary statistics data table object


[Package MungeSumstats version 1.0.1 Index]