create_GG: Create genetic groups regarding countries

Description Usage Arguments

View source: R/MainGG.R

Description

Overall function to create genetic groups regarding countries

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
create_GG(
  psInputFile,
  psBreedsFile = NULL,
  psCountryFile = NULL,
  pminGroupSize = 250,
  pnumberOfYears = 6,
  pglobal_minyear = 1900,
  pglobal_maxyear = 2100,
  pdiffYear = 3,
  pshiftYear = 2,
  psOutputFile,
  pbLog = FALSE
)

Arguments

psInputFile

file including number of missing parents per year and breed

psBreedsFile

Read a breed grouping file

psCountryFile

country grouping file

pminGroupSize

minimum number of animals required per genetic group

pnumberOfYears

minimum number of birth years required per genetic group

pglobal_minyear

global minimum year

pglobal_maxyear

globar maximum year

pdiffYear

difference in birth years between parents of bulls and parents of dams

pshiftYear

shift between genetic groups of sire and genetic groups of dams; this is required so that they do not contain exactly the same animals

psOutputFile

genetic group csv-file


pvrqualitasag/qgengroup documentation built on Jan. 19, 2020, 12:58 p.m.