Class WAG

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, RateMatrix

    public class WAG
    extends AminoAcidModel
    WAG model of amino acid evolution (S. Whelan and N. Goldman 2000)
    Version:
    $Id: WAG.java 185 2006-01-23 23:03:18Z rambaut $
    Author:
    Korbinian Strimmer, Alexei Drummond
    See Also:
    Serialized Form
    • Constructor Detail

      • WAG

        public WAG​(double[] f)
        constructor
        Parameters:
        f - amino acid frequencies
    • Method Detail

      • getOriginalFrequencies

        public static void getOriginalFrequencies​(double[] f)
        get the frequencies of the original data set that formed the basis for the estimation of the rate matrix
        Parameters:
        f - array where amino acid frequencies will be stored
      • getOriginalFrequencies

        public static double[] getOriginalFrequencies()
        Returns:
        the frequencies of the original data set that formed the basis for the estimation of the rate matrix
      • getUniqueName

        public java.lang.String getUniqueName()
        Returns:
        a short unique human-readable identifier for this rate matrix.