removeAutoGenIds: Remove automatically generated IDs from pedigree

View source: R/removeAutoGenIds.R

removeAutoGenIdsR Documentation

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)

Arguments

ped

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

Value

A pedigree with automatically generated IDs removed.

Examples

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


rmsharp/nprcmanager documentation built on Feb. 2, 2025, 12:45 a.m.