plot_alignment: Plot Sequence Alignments

View source: R/report.R

plot_alignmentR Documentation

Plot Sequence Alignments

Description

Plot an MSA alignment object.

Usage

plot_alignment(alignment, labels = NULL, include_blanks = FALSE, ...)

Arguments

alignment

MSA alignment object as produced by align_alleles, or character vector of the corresponding sequences.

labels

custom labels to draw for each entry in alignment. By default it's assumed that align_alleles was called with derep=TRUE and sequences are labeled by number of occurrences.

include_blanks

should blank sequences present in the alignment be included in the plot? FALSE by default. If TRUE and labels is left at the default, the extra axis labels will add up to a full count of the number of alleles observed.

...

additional arguments passed to dnaplotr::plotDNA.

Value

list of the sequence, sequence group, and label character vectors used in the plot.

See Also

align_alleles


ShawHahnLab/microsat documentation built on Aug. 25, 2023, 11:16 p.m.