check_n_int {MungeSumstats} | R Documentation |
Ensure that the N column are all integers
check_n_int(sumstats_dt, path, convert_n_int)
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. |
list containing sumstats_dt, the modified summary statistics data table object