target_positive#

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

Generate target allele frequencies, selecting for only beneficial alleles.

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