check_n_int {MungeSumstats}R Documentation

Ensure that the N column are all integers

Description

Ensure that the N column are all integers

Usage

check_n_int(sumstats_dt, path, convert_n_int)

Arguments

sumstats_dt

data table obj of the summary statistics file for the GWAS

path

Filepath for the summary statistics file to be formatted

convert_n_int

Binary, if N (the number of samples) is not an integer, should this be rounded? Default is TRUE.

Value

list containing sumstats_dt, the modified summary statistics data table object


[Package MungeSumstats version 1.0.1 Index]