target_stabilizing#

pybrops.breed.prot.sel.targetfn.target_stabilizing(u_a)[source]#

Generate target allele frequencies, desiring both alleles in equal proportions.

Parameters:

u_a (numpy.ndarray) – A matrix of additive genomic marker effects of shape (p_a,t)

Returns:

out – A matrix of target allele frequencies of shape (p_a,t)

Return type:

numpy.ndarray