derive.loop.elements {MoBPS} | R Documentation |
Derive loop elements
Description
Internal function to derive the position of all individuals to consider for BVE/GWAS
Usage
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
data(ex_pop)
derive.loop.elements(ex_pop, bve.database=get.database(ex_pop, gen=2),
bve.class=NULL, bve.avoid.duplicates=TRUE)
[Package MoBPS version 1.6.64 Index]