metacoder (version 0.1.2)

plot_alignment: Display sequence alignment

Description

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

Usage

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

Run this code
## Not run: 
# library(ape)
# data(woodmouse)
# plot_alignment(woodmouse)## End(Not run)

Run the code above in your browser using DataLab