R: Build an AA distance matrix

getAAMatrix {alakazam} | R Documentation

## Build an AA distance matrix

### Description

`getAAMatrix` returns a Hamming distance matrix for IUPAC ambiguous amino acid characters.

### Usage

    getAAMatrix(gap = 0)

### Arguments

`gap` | value to assign to characters in the set `c("-", ".")`.

### Value

A `matrix` of amino acid character distances with row and column names indicating the character pair.

### See Also

Creates an amino acid distance matrix for seqDist. See getDNAMatrix for nucleotide distances.

### Examples

    getAAMatrix()

[Package alakazam version 0.3.0 Index]