getAAMatrix: Build an AA distance matrix

Description Usage Arguments Value See Also Examples

View source: R/Sequence.R

Description

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

Usage

1
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

1

alakazam documentation built on Sept. 22, 2017, 1:03 a.m.