standardise_sumstats_column_headers_crossplatform {MungeSumstats} | R Documentation |
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
standardise_sumstats_column_headers_crossplatform(sumstats_dt, path)
sumstats_dt |
data table obj of the summary statistics file for the GWAS |
path |
Filepath for the summary statistics file to be formatted |
list containing sumstats_dt, the modified summary statistics data table object