plot_alignment: Display sequence alignment

Description Usage Arguments Value References Examples

View source: R/plot_alignment.R

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)

metacoder documentation built on May 30, 2017, 3:11 a.m.

Search within the metacoder package
Search all R packages, documentation and source code