Computes partial inbreeding coefficients, Fi(j). A coefficient Fi(j) can be read as the probability of individual i being homozygous for alleles derived from ancestor j
Fij_core_i_cpp(dam, sire, anc_idx, mapa, Fi, genedrop = 0L, seed = NULL)
A matrix of partial inbreeding coefficients. Fi(j) values can thus be read from row i and column j.
Vector of dam ids.
Vector of sire ids.
Index of ancestors.
Map of ancestors
Vector of inbreeding coefficients.
Enable genedrop simulation
Sets a seed for the random number generator.