get_genomebuild_for_sumstats: Get genome build for sumstats

View source: R/get_genomebuild_for_sumstats.r

get_genomebuild_for_sumstatsR Documentation

Get genome build for sumstats

Description

Compare the SNP:CHR:BP data against a dataset of all Hapmap3 SNP:CHR:BP data for two genome builds (GRCh37 and GRCh38). Evaluate which genome build matches the SNP locations from the sum stats file.

Usage

get_genomebuild_for_sumstats(path)

Arguments

path

Filepath of the summary statistics file

Value

Either 'GRCh37' or 'GRCh38'

Examples

## Not run: 
path <- MAGMA.Celltyping::get_example_gwas()
genome_build <- MAGMA.Celltyping::get_genomebuild_for_sumstats(path = path)

## End(Not run)

NathanSkene/MAGMA_Celltyping documentation built on Aug. 21, 2023, 8:55 a.m.