similarityMatrix: Similarity between sequences

View source: R/groupTips.R

similarityMatrixR Documentation

Similarity between sequences

Description

Get similarity between aligned sequences with gap ignored.

Usage

similarityMatrix(tree)

Arguments

tree

The return from addMSA function.

Value

A diagonal matrix of similarity between sequences.

Examples

data(zikv_tree)
data(zikv_align)
tree <- addMSA(zikv_tree, alignment = zikv_align)
simMatrix <- similarityMatrix(tree)

Takkoona/sitePath documentation built on Sept. 28, 2022, 1:24 a.m.