focalAnimals: focalAnimals is a dataframe with one column (_id_) containing...

Description Usage Format Examples

Description

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

Usage

1

Format

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(nprcgenekeepr)
data("focalAnimals")
data("examplePedigree")
any(names(examplePedigree) == "population")
nrow(examplePedigree)
examplePedigree <- setPopulation(ped = examplePedigree,
                                 ids = focalAnimals$id)
any(names(examplePedigree) == "population")
nrow(examplePedigree)
nrow(examplePedigree[examplePedigree$population, ])

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