getAAMatrix: Build an AA distance matrix

View source: R/Sequence.R

getAAMatrixR 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()


alakazam documentation built on Sept. 30, 2023, 9:07 a.m.