Class SingleGenotypeProbability


  • public class SingleGenotypeProbability
    extends SingleGenotypePosition
    Represents the genotype probabilities for a single genotype
    • Constructor Detail

      • SingleGenotypeProbability

        public SingleGenotypeProbability​(int sample,
                                         int snp,
                                         double[] prob)
        Constructor
        Parameters:
        sample - The sample position
        snp - The snp position
        prob - The genotype probabilities
    • Method Detail

      • getProb

        public double[] getProb()
        Get the genotype probabilities
        Returns:
        The genotype probabilities