View source: R/getFocalAnimalPed.R
getFocalAnimalPed | R Documentation |
Get pedigree based on list of focal animals
getFocalAnimalPed(fileName, sep = ",")
fileName |
character vector of temporary file path. |
sep |
column separator in CSV file |
A pedigree file compatible with others in this package.
library(nprcgenekeepr)
siteInfo <- getSiteInfo(FALSE)
source <- " generated by getFocalAnimalPed: "
tryCatch(getFocalAnimalPed(fileName = "breeding file.csv"),
warning = function(wCond) {
cat(paste0("Warning", source, wCond),
name = "nprcgenekeepr")
return(NULL)},
error = function(eCond) {
cat(paste0("Error", source, eCond),
name = "nprcgenekeepr")
return(NULL)}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.