powered by
Generates a dot plot comparison of two sequences.
plot_dotplot(s1, s2, window = 1)
A ggplot object
First sequence
Second sequence
Integer word size for matching (default: 1)
s1 <- "ATGCATGCATGC" s2 <- "ATGCGTGCATGC" plot_dotplot(s1, s2, window = 3)
Run the code above in your browser using DataLab