get.selectionbve {MoBPS}R Documentation

Export derived breeding values based on the selection index

Description

Function to export last breeding values based on the selection index

Usage

get.selectionbve(
  population,
  database = NULL,
  gen = NULL,
  cohorts = NULL,
  use.id = FALSE
)

Arguments

population

Population list

database

Groups of individuals to consider for the export

gen

Quick-insert for database (vector of all generations to export)

cohorts

Quick-insert for database (vector of names of cohorts to export)

use.id

Set to TRUE to use MoBPS ids instead of Sex_Nr_Gen based names (default: FALSE)

Value

Last applied selection index for in gen/database/cohorts selected individuals

Examples

data(ex_pop)
get.selectionindex(ex_pop, gen=2)

[Package MoBPS version 1.6.64 Index]