Learn R Programming

nprcgenekeepr (version 1.0.5)

fixColumnNames: fixColumnNames changes original column names and into standardized names.

Description

fixColumnNames changes original column names and into standardized names.

Usage

fixColumnNames(orgCols, errorLst)

Arguments

orgCols

character vector with ordered list of column names found in a pedigree file.

errorLst

list object with places to store the various column name changes.

Value

A list object with newColNames and errorLst with a record of all changes made.

Examples

Run this code
# NOT RUN {
library(nprcgenekeepr)
fixColumnNames(c("Sire_ID", "EGO", "DAM", "Id", "birth_date"),
               errorLst = getEmptyErrorLst())
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab