Learn R Programming

nprcgenekeepr (version 1.0.8)

removeAutoGenIds: Remove automatically generated IDs from pedigree

Description

Currently uses leading "U" to identify automatically generated IDs. TODO change identification of automatically generated IDs from looking for an initial "U" at the beginning of an ID to a function call so that actual ID that start with a "U" are possible.

Usage

removeAutoGenIds(ped)

Value

A pedigree with automatically generated IDs removed.

Arguments

ped

datatable that is the Pedigree. It contains pedigree information. The id, sire, and dame columns are required.

Examples

Run this code
examplePedigree <- nprcgenekeepr::examplePedigree
length(examplePedigree$id)
ped <- removeAutoGenIds(examplePedigree)
length(ped$id)

Run the code above in your browser using DataLab