get_headerTranslation: Copies the template header translation table to the local...

View source: R/getHeaderTranslation.R

get_headerTranslationR Documentation

Copies the template header translation table to the local machine

Description

This template file is used to translate a dataset's column names (the header) into the standard names used by GWASinspector. The file contains a two-column table, with the left column containing the standard column-names and the right the alternatives. Both the standard and alternative columns must be fully capitalized. This is a text file which includes most common variable/header names and can be edited according to user specifications. The default filename is alt_headers.txt.

Usage

get_headerTranslation(dir.path)

Arguments

dir.path

Path to the folder for saving a header-translation table file.

Value

Copies a sample header-translation table in the specified folder.


GWASinspector documentation built on Sept. 28, 2023, 1:06 a.m.