check_bi_allelic {MungeSumstats}R Documentation

Remove non-biallelic SNPs

Description

Remove non-biallelic SNPs

Usage

check_bi_allelic(sumstats_dt, path, ref_genome, bi_allelic_filter, rsids)

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). Default is GRCh37.

bi_allelic_filter

Binary Should non-biallelic SNPs be removed. Default is TRUE

rsids

datatable of snpsById, filtered to SNPs of interest if loaded already. Or else NULL

Value

A list containing two data tables:


[Package MungeSumstats version 1.0.1 Index]