format_sumstats_for_magma: Format GWAS summary statistics

View source: R/format_sumstats_for_magma.r

format_sumstats_for_magmaR Documentation

Format GWAS summary statistics

Description

Check that sumstats has correct columns and that they are in the correct order for MAGMA and LDSC.

Usage

format_sumstats_for_magma(path)

Arguments

path

Filepath for the summary statistics file to be formatted.

Value

col_headers The new column headers for the sumstats file

Examples

## Not run: 
path <- MAGMA.Celltyping::get_example_gwas()
new_path <- MAGMA.Celltyping:::format.sumstats.for.magma(path)

## End(Not run)


neurogenomics/MAGMA_Celltyping documentation built on Aug. 22, 2023, 7:18 a.m.