calculate.bv: Calculate breeding values

Description Usage Arguments Value Examples

View source: R/calculate.bv.R

Description

Internal function to calculate the breeding value of a given individual

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
calculate.bv(
  population,
  gen,
  sex,
  nr,
  activ_bv,
  import.position.calculation = NULL,
  decodeOriginsU = decodeOriginsR,
  store.effect.freq = FALSE,
  bit.storing = FALSE,
  nbits = 30,
  output_compressed = FALSE,
  bv.ignore.traits = NULL
)

Arguments

population

Population list

gen

Generation of the individual of interest

sex

Sex of the individual of interest

nr

Number of the individual of interest

activ_bv

traits to consider

import.position.calculation

Function to calculate recombination point into adjacent/following SNP

decodeOriginsU

Used function for the decoding of genetic origins [[5]]/[[6]]

store.effect.freq

If TRUE store the allele frequency of effect markers per generation

bit.storing

Set to TRUE if the MoBPS (not-miraculix! bit-storing is used)

nbits

Bits available in MoBPS-bit-storing

output_compressed

Set to TRUE to get a miraculix-compressed genotype/haplotype

bv.ignore.traits

Vector of traits to ignore in the calculation of the genomic value (default: NULL; Only recommended for high number of traits and experienced users!)

Value

[[1]] true genomic value [[2]] allele frequency at QTL markers

Examples

1
2
data(ex_pop)
calculate.bv(ex_pop, gen=1, sex=1, nr=1, activ_bv = 1)

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

Related to calculate.bv in MoBPS...