Display sequence alignment

Description

Make a plot af a sequence alignment for an overview of alignment structure.

Usage

1
plot_alignment(alignment)

Arguments

alignment

(DNAbin) A matrix representing a sequence alignment.

Value

A ggplot object

References

ColorBrewer2 was used for the color palette

Examples

1
2
3
4
5
## Not run: 
library(ape)
data(woodmouse)
plot_alignment(woodmouse)
## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.