MultiObjectiveGenomicSelectionProblemMixin#

class pybrops.breed.prot.sel.prob.MultiObjectiveGenomicSelectionProblem.MultiObjectiveGenomicSelectionProblemMixin[source]#

Bases: object

Helper class to implement properties common to MOGS.

Methods

from_gmat_gpmod

rtype:

MultiObjectiveGenomicSelectionProblemMixin

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.

tfreq_fix_heter

Whether the target allele frequency is heterozygous.

tfreq_fix_major

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

tfreq_fix_minor

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

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 tfreq_fix_heter: ndarray#

Whether the target allele frequency is heterozygous.

property tfreq_fix_major: ndarray#

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

property tfreq_fix_minor: ndarray#

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