MultiObjectiveGenomicMatingProblemMixin#

class pybrops.breed.prot.sel.prob.MultiObjectiveGenomicMatingProblem.MultiObjectiveGenomicMatingProblemMixin[source]#

Bases: object

Helper class to implement properties common to MOGS.

Methods

from_object

rtype:

MultiObjectiveGenomicMatingProblemMixin

Attributes

geno

Genotype matrix of shape (n,p) in {0,1,2} format.

mkrwt

Marker weights.

nlatent

Number of latent variables.

ploidy

ploidy.

tfreq

Target allele frequency.

thet

Whether the target allele frequency is heterozygous.

tmajor

Whether the target allele frequency is fixation of a major allele.

tminor

Whether the target allele frequency is fixation of a minor allele.

xmap

Cross selection map array of shape (s,d).

property geno: ndarray#

Genotype matrix of shape (n,p) in {0,1,2} format.

property mkrwt: ndarray#

Marker weights.

property nlatent: Integral#

Number of latent variables.

property ploidy: Integral#

ploidy.

property tfreq: ndarray#

Target allele frequency.

property thet: ndarray#

Whether the target allele frequency is heterozygous.

property tmajor: ndarray#

Whether the target allele frequency is fixation of a major allele.

property tminor: ndarray#

Whether the target allele frequency is fixation of a minor allele.

property xmap: ndarray#

Cross selection map array of shape (s,d).