derive.loop.elements: Derive loop elements

Description Usage Arguments Value Examples

View source: R/derive.loop.elements.R

Description

Internal function to derive the position of all individuals to consider for BVE/GWAS

Usage

1
2
3
4
5
6
7
8
9
derive.loop.elements(
  population,
  bve.database,
  bve.class,
  bve.avoid.duplicates,
  store.adding = FALSE,
  store.which.adding = FALSE,
  list.of.copys = FALSE
)

Arguments

population

Population list

bve.database

Groups of individuals to consider in breeding value estimation

bve.class

Consider only animals of those class classes in breeding value estimation (default: NULL - use all)

bve.avoid.duplicates

If set to FALSE multiple generatations of the same individual can be used in the bve (only possible by using copy.individual to generate individuals)

store.adding

Internal parameter to derive number of added individuals per database entry (only relevant internally for GWAS)

store.which.adding

Internal parameter to derive which individuals are copy entries

list.of.copys

Internal parameter to derive further information on the copies individuals

Value

Matrix of individuals in the entered database

Examples

1
2
3
data(ex_pop)
derive.loop.elements(ex_pop, bve.database=get.database(ex_pop, gen=2),
bve.class=NULL, bve.avoid.duplicates=TRUE)

MoBPS documentation built on Nov. 9, 2021, 5:08 p.m.