Class BiomDNAGenotypeAllelePairType
A data type for a DNA genotype allele pair
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class BiomDNAGenotypeAllelePairType : IEquatable<BiomDNAGenotypeAllelePairType>
Properties
Context
biomDNAGenotypeAllelePairType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public BiomDNAGenotypeAllelePairType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<BiomDNAGenotypeAllelePairType.ContextEnum> | biomDNAGenotypeAllelePairType JSON-LD context |
DnaLocusGenotypeProbabilityValue
A probability of an individual having these alleles at a single locus. The frequency of the individual alleles is based on population statistics data. This probability can be calculated by various formulas that consider if the locus is homozygous or NIEM reference is biom:DNALocusGenotypeProbabilityValue
Declaration
[DataMember(Name = "dnaLocusGenotypeProbabilityValue")]
public List<BiomLocusGenotypeProbabilityValueType> DnaLocusGenotypeProbabilityValue { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<BiomLocusGenotypeProbabilityValueType> | A probability of an individual having these alleles at a single locus. The frequency of the individual alleles is based on population statistics data. This probability can be calculated by various formulas that consider if the locus is homozygous or NIEM reference is biom:DNALocusGenotypeProbabilityValue |
DnaLocusReferenceId
An identifier for a reference number of a DNA locus NIEM reference is biom:DNALocusReferenceID
Declaration
[DataMember(Name = "dnaLocusReferenceId")]
public List<BiomInteger1to999Type> DnaLocusReferenceId { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<BiomInteger1to999Type> | An identifier for a reference number of a DNA locus NIEM reference is biom:DNALocusReferenceID |
Text
A kind of characters denoting the allele pair data NIEM reference is biom:DNAGenotypeAllelePairText
Declaration
[DataMember(Name = "text")]
public List<NcTextType> Text { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of characters denoting the allele pair data NIEM reference is biom:DNAGenotypeAllelePairText |
Methods
Equals(BiomDNAGenotypeAllelePairType)
Returns true if BiomDNAGenotypeAllelePairType instances are equal
Declaration
public bool Equals(BiomDNAGenotypeAllelePairType other)
Parameters
Type | Name | Description |
---|---|---|
BiomDNAGenotypeAllelePairType | other | Instance of BiomDNAGenotypeAllelePairType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Operators
Equality(BiomDNAGenotypeAllelePairType, BiomDNAGenotypeAllelePairType)
Declaration
public static bool operator ==(BiomDNAGenotypeAllelePairType left, BiomDNAGenotypeAllelePairType right)
Parameters
Type | Name | Description |
---|---|---|
BiomDNAGenotypeAllelePairType | left | |
BiomDNAGenotypeAllelePairType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(BiomDNAGenotypeAllelePairType, BiomDNAGenotypeAllelePairType)
Declaration
public static bool operator !=(BiomDNAGenotypeAllelePairType left, BiomDNAGenotypeAllelePairType right)
Parameters
Type | Name | Description |
---|---|---|
BiomDNAGenotypeAllelePairType | left | |
BiomDNAGenotypeAllelePairType | right |
Returns
Type | Description |
---|---|
System.Boolean |