resetGroup: Update or add the "group" field of a Pedigree.

Description Usage Arguments Value

View source: R/resetGroup.R

Description

Part of the pedigree filtering toolset

Usage

1
resetGroup(ped, ids)

Arguments

ped

datatable that is the 'Pedigree'. It contains pedigree information. The id column is required.

ids

character vector of IDs to be flagged as part of the group under consideration.

Value

An updated pedigree with the group column added or updated by being set to TRUE for the animal IDs in ped$id and FALSE otherwise.


rmsharp/nprcmanager documentation built on April 24, 2021, 3:13 p.m.