fixColumnNames {nprcgenekeepr} | R Documentation |
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
library(nprcgenekeepr)
fixColumnNames(c("Sire_ID", "EGO", "DAM", "Id", "birth_date"),
errorLst = getEmptyErrorLst()
)
[Package nprcgenekeepr version 1.0.7 Index]