plot_alignment: 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)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.