Class SubstitutionMatrix


  • public class SubstitutionMatrix
    extends Object
    • Field Detail

      • BASES

        public static final byte[] BASES
    • Constructor Detail

      • SubstitutionMatrix

        public SubstitutionMatrix​(long[][] frequencies)
      • SubstitutionMatrix

        public SubstitutionMatrix​(byte[] matrix)
    • Method Detail

      • getEncodedMatrix

        public byte[] getEncodedMatrix()
      • code

        public byte code​(byte refBase,
                         byte readBase)
      • base

        public byte base​(byte refBase,
                         byte code)