mat_meiosis#
- pybrops.breed.prot.mate.util.mat_meiosis(geno, sel, xoprob, rng)[source]#
Perform meiosis on matrix inputs.
- Parameters:
geno (numpy.ndarray) – Genotype matrix.
sel (numpy.ndarray) – Selection configuration array.
xoprob (numpy.ndarray) – Crossover probability array.
rng (numpy.random.Generator, numpy.random.RandomState) – Random number generator instance
- Returns:
gamete – Genotype matrix of gametes.
- Return type:
numpy.ndarray