sim.score.all: Similarity Score

Description Usage Arguments Value

Description

Compute the similarity score of the list of local alignments. Given an alignment g:V_1\rightarrow V_2, and a similarity matrix sim, the similarity score of the alignment g is defined as:

\frac{1}{|V_1|} ∑_{v \in V_1} sim[v,g(v)]

Usage

1
sim.score.all(localAligns, sim)

Arguments

localAligns

a list of local alignments

sim

a similarity matrix

Value

simScore a table with 3 columns, the first and second ones represents the local alignment and the third the score of alignment


adriaalcala/AligNet documentation built on May 10, 2019, 5:59 a.m.