highlightMismatch: Highlight the mismatches of sequence(s) to some reference...

View source: R/utility_functions.R

highlightMismatchR Documentation

Highlight the mismatches of sequence(s) to some reference site with '-'

Description

Highlight the mismatches of sequence(s) to some reference site with '-'

Usage

highlightMismatch(sequences, reference)

Arguments

sequences

List of sequences.

reference

Reference sequence.

Value

Sequences with those mismatched portions to reference changed to '-'

Examples

highlightMismatch("GTAC", "GAAC")
highlightMismatch(c("GTAC", "GAAC"), "GAAC")

zeropin/TFCookbook documentation built on July 8, 2023, 2:59 p.m.