similarityMatrix: Similarity between sequences

Description Usage Arguments Value Examples

View source: R/groupTips.R

Description

Get similarity between aligned sequences with gap ignored.

Usage

1

Arguments

tree

The return from addMSA function.

Value

A diagonal matrix of similarity between sequences.

Examples

1
2
3
4
data(zikv_tree)
data(zikv_align)
tree <- addMSA(zikv_tree, alignment = zikv_align)
simMatrix <- similarityMatrix(tree)

sitePath documentation built on April 17, 2021, 6:05 p.m.