Learn R Programming

GWASinspector (version 1.4.3)

get.headerTranslation: Save a sample header translation table file

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 name of this file is alt_headers.txt. configuration file should be edited if this name is changed by user (header_translations property).

Usage

get.headerTranslation(dir.path)

Arguments

dir.path

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

Value

Saves a sample header-translation table file in the specified folder.

Examples

Run this code
# NOT RUN {
get.headerTranslation(tempdir())

# }

Run the code above in your browser using DataLab