nice_print: Prints the output of getNiceAlignment() in a visually...

View source: R/main.R

nice_printR Documentation

Prints the output of getNiceAlignment() in a visually informative format in order to inspect the alignment

Description

Prints the output of getNiceAlignment() in a visually informative format in order to inspect the alignment

Usage

nice_print(niceAlignment)

Arguments

niceAlignment

list Output of the method getNiceAlignment()

Value

Pretty-prints the list returned by getNiceAlignment()

Examples

query = "elephant"
target = "telephone"
result = align(query, target, task = "path")
nice_algn = getNiceAlignment(result, query, target)
nice_print(nice_algn)


edlibR documentation built on Aug. 8, 2025, 6:46 p.m.