Functions related to sequence alignment
calcPairwiseIdentity(alignment, dissimilarity, removeGap)
alignment2count (alignment, level=20, weight=rep(1,nrow(alignment)))
alignment2trancount (alignment, weight=rep(1,nrow(alignment)))
removeGap (seq)
alignment2count return T by 20 matrix, where T is the number of column in the alignment. alignment2trancount return a T by 4 matrix, each row is the count of MM, MD, DM, DD for each position.
matrix of arabic representation of sequences (1 based)
Boolean.
Boolean
integer. Size of alphabet
numeric vector. Weights given to each sequence
string. A string of amino acids