They can be used to illustrate the identification of a population of interest as is shown in the example below.

focalAnimals

Format

An object of class data.frame with 327 rows and 1 columns.

Examples

# \donttest{ library(nprcgenekeepr) data("focalAnimals") data("examplePedigree") any(names(examplePedigree) == "population")
#> [1] FALSE
nrow(examplePedigree)
#> [1] 3694
examplePedigree <- setPopulation(ped = examplePedigree, ids = focalAnimals$id) any(names(examplePedigree) == "population")
#> [1] TRUE
nrow(examplePedigree)
#> [1] 3694
nrow(examplePedigree[examplePedigree$population, ])
#> [1] 327
# }