Description Usage Arguments Value
View source: R/get_direct_ancestors.R
Get direct ancestors for supplied IDs.
1 | get_direct_ancestors(conn, ids)
|
conn |
database connection object |
ids |
character vector of individual ids |
A dataframe with all direct ancestors for Ids provided.
Takes a database connection and a character vector of animal Ids and retrieves the direct ancestors for each id. All returned rows represent a unique individual. The SQL gets animals until there are no new parents. That is the sires and dams are NULL for the progenitors. gets immediate parents for one individual : –SELECT * FROM dbo.f_get_pedigree(' 30145')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.