plot_dotplot: Plot Dot Plot

View source: R/plots.R

plot_dotplotR Documentation

Plot Dot Plot

Description

Generates a dot plot comparison of two sequences.

Usage

plot_dotplot(s1, s2, window = 1)

Arguments

s1

First sequence

s2

Second sequence

window

Integer word size for matching (default: 1)

Value

A ggplot object

Examples

s1 <- "ATGCATGCATGC"
s2 <- "ATGCGTGCATGC"
plot_dotplot(s1, s2, window = 3)

baseq documentation built on March 12, 2026, 1:07 a.m.