letterMatrix: Compute matrix of letters for the alignment

Description Usage Arguments Value

Description

This takes all n sequences, of m positions and constructs a matrix containing sequence amino acid x position amino acids are represented as integers 1-20, 21 non-AA character

Usage

1
letterMatrix(aln, alphabet, npos)

Arguments

aln

alignment list of sequences

alphabet

character vector of alphabet (amino acids used)

npos

number of positions in the alignment

Value

matrix of amino acid indices for each sequence/position


omarwagih/siftr documentation built on May 24, 2019, 1:50 p.m.