check_n_num {MungeSumstats}R Documentation

Ensure all SNPs have N less than X std dev below mean

Description

Incase some SNPs were genotyped by a specialized genotyping array and have substantially more samples than others. These will be removed.

Usage

check_n_num(sumstats_dt, path, N_std)

Arguments

sumstats_dt

data table obj of the summary statistics file for the GWAS

path

Filepath for the summary statistics file to be formatted

N_std

numeric The number of standard deviations above the mean a SNP's N is needed to be removed. Default is 5.

Value

list containing sumstats_dt, the modified summary statistics data table object


[Package MungeSumstats version 1.0.1 Index]