performTraceback: Traceback function

Description Usage Arguments Value Examples

View source: R/NeedlemanWunsch.R

Description

performTraceback is a function that creates a matrix with the directions of the alignment while computing the alignment itself

Usage

1
performTraceback(matrix, sequenceA, sequenceB)

Arguments

matrix

The score matrix computed with the two sequences

sequenceA

The first nucleotide sequence (positioned on the rows)

sequenceB

The second nucleotide sequence (positioned on the columns)

Value

a list containing the directionMatrix, the first alignment, the second alignment

Examples

1
isItAMatch("GTT","GCATT",1,2)

BeatriceBa/RProjectNW documentation built on Dec. 17, 2021, 10:47 a.m.