def distinct_frequencies(self):
        """Return frequencies for each distinct haplotype."""

        c = self.distinct_counts()
        n = self.shape[1]
        return c / n
def distinct_frequencies ( self ) : c = self . distinct_counts ( ) n = self . shape [ 1 ] return c / n
Return frequencies for each distinct haplotype.