check_chr {MungeSumstats}R Documentation

Ensure all SNPs on specified chromosomes are removed

Description

Ensure all SNPs on specified chromosomes are removed

Usage

check_chr(sumstats_dt, path, rmv_chr)

Arguments

sumstats_dt

data table obj of the summary statistics file for the GWAS

path

Filepath for the summary statistics file to be formatted

rmv_chr

vector or character The chromosomes on which the SNPs should be removed. Use NULL if no filtering necessary. Default is X, Y and mitochondrial.

Value

list containing sumstats_dt, the modified summary statistics data table object


[Package MungeSumstats version 1.0.1 Index]