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)

neurogenomics/MAGMA_Celltyping documentation built on Oct. 12, 2024, 12:36 a.m.