calculate.bv {MoBPS} | R Documentation |
Calculate breeding values
Description
Internal function to calculate the breeding value of a given individual
Usage
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
data(ex_pop)
calculate.bv(ex_pop, gen=1, sex=1, nr=1, activ_bv = 1)