nw_metric: Needleman-Wunsch string similarity

Description Usage Arguments

Description

Needleman-Wunsch string similarity

Usage

1
2
nw_metric(A, B, nw_match = 1, nw_mismatch = -1, gap = -1,
  gap_char = "*")

Arguments

A

String to be compared

B

String to be compared

nw_match

Score to be given to matching characters (default: 1)

nw_mismatch

Penalty to be given to mismatching characters (default: -1)

gap

Penalty to be given to gaps (default: -1)

gap_char

Character to be used to represent gaps (default: "*")


pedrostrusso/annotator documentation built on June 12, 2019, 11:23 a.m.