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)

wuaipinglab/sitePath documentation built on July 25, 2021, 9:11 p.m.