R/standardise.sumstats.column.headers.R
standardise.sumstats.column.headers.Rd
Use a reference data table of common column header names
(stored as MAGMA.Celltyping::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(path)
The amended column headers (also the column headers will be written directly into the summary statistics file)
if (FALSE) { # \dontrun{
path <- MAGMA.Celltyping::get_example_gwas()
col_headers <- MAGMA.Celltyping::standardise.sumstats.column.headers(
path = path)
} # }