removeAutoGenIds: Remove automatically generated IDs from pedigree

View source: R/removeAutoGenIds.R

removeAutoGenIdsR Documentation

Remove automatically generated IDs from pedigree

Description

Identifies automatically generated IDs via isGeneratedUnknownId(), the shared detection predicate derived from the configurable auto-ID format (see getAutoIdFormat; default a leading "U"). Routing detection through that single predicate is the "function call" the former inline leading-"U" check was flagged to become.

Usage

removeAutoGenIds(ped)

Arguments

ped

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

Value

A pedigree with automatically generated IDs removed.

Examples

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


nprcgenekeepr documentation built on July 26, 2026, 5:06 p.m.