standardise_sumstats_column_headers_crossplatform {MungeSumstats}R Documentation

Standardise the column headers in the Summary Statistics files (CROSSPLATFORM)

Description

Use a reference data table of common column header names (stored in sumstatsColHeaders) convert them to a standard set, i.e. chromosome -> CHR This function does not check that all the required column headers are present The amended header is written directly back into the file

Usage

standardise_sumstats_column_headers_crossplatform(sumstats_dt, path)

Arguments

sumstats_dt

data table obj of the summary statistics file for the GWAS

path

Filepath for the summary statistics file to be formatted

Value

list containing sumstats_dt, the modified summary statistics data table object


[Package MungeSumstats version 1.0.1 Index]