Learn R Programming

nprcgenekeepr (version 1.0.8)

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

Description

fixColumnNames changes original column names and into standardized names.

Usage

fixColumnNames(orgCols, errorLst)

Value

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

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.

Examples

Run this code
library(nprcgenekeepr)
fixColumnNames(c("Sire_ID", "EGO", "DAM", "Id", "birth_date"),
  errorLst = getEmptyErrorLst()
)

Run the code above in your browser using DataLab