Learn R Programming

nprcgenekeepr (version 1.0.5)

getLkDirectAncestors: Get the direct ancestors of selected animals

Description

Gets direct ancestors from labkey study schema and demographics table.

Usage

getLkDirectAncestors(ids)

Arguments

ids

character vector with Ids.

Value

data.frame with pedigree structure having all of the direct ancestors for the Ids provided.

Examples

Run this code
# NOT RUN {
library(nprcgenekeepr)
## Have to a vector of focal animals
focalAnimals <- c("1X2701", "1X0101")
suppressWarnings(getLkDirectAncestors(ids = focalAnimals))
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab