Get pedigree based on list of focal animals

getFocalAnimalPed(fileName, sep = ",")

Arguments

fileName

character vector of temporary file path.

sep

column separator in CSV file

Value

A pedigree file compatible with others in this package.

Examples

#> Warning: The nprcgenekeepr configuration file is missing. #> It is required when the LabKey API is to be used. #> The file should be named: ~/.nprcgenekeepr_config.
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)} )
#> Warning generated by getFocalAnimalPed: simpleWarning in file(file, "rt"): cannot open file 'breeding file.csv': No such file or directory #> nprcgenekeepr
#> NULL