Package picard.fingerprint
Enum HaplotypeProbabilities.Genotype
- java.lang.Object
-
- java.lang.Enum<HaplotypeProbabilities.Genotype>
-
- picard.fingerprint.HaplotypeProbabilities.Genotype
-
- All Implemented Interfaces:
Serializable
,Comparable<HaplotypeProbabilities.Genotype>
- Enclosing class:
- HaplotypeProbabilities
protected static enum HaplotypeProbabilities.Genotype extends Enum<HaplotypeProbabilities.Genotype>
Log10(P(evidence| haplotype)) for the 3 different possible haplotypes {aa, ab, bb}
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HET_ALLELE12
HOM_ALLELE1
HOM_ALLELE2
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HaplotypeProbabilities.Genotype
valueOf(String name)
Returns the enum constant of this type with the specified name.static HaplotypeProbabilities.Genotype[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HOM_ALLELE1
public static final HaplotypeProbabilities.Genotype HOM_ALLELE1
-
HET_ALLELE12
public static final HaplotypeProbabilities.Genotype HET_ALLELE12
-
HOM_ALLELE2
public static final HaplotypeProbabilities.Genotype HOM_ALLELE2
-
-
Method Detail
-
values
public static HaplotypeProbabilities.Genotype[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HaplotypeProbabilities.Genotype c : HaplotypeProbabilities.Genotype.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HaplotypeProbabilities.Genotype valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-