Rdocumentation
powered by
Learn R Programming
CrispRVariants (version 1.0.2)
transformAlnsToLong: Transform data for plotting
Description
Orders and transforms a reference sequence and a set of aligned sequences into long format, i.e. one observation (tile position) per row. Used internally by
plotAlignments
.
Usage
transformAlnsToLong(ref, alns, add.other = FALSE)
Arguments
ref
The reference sequence
alns
Character vector of aligned sequences
add.other
Add a blank row labelled "Other" (Default: FALSE)
Value
A matrix of characters and plotting locations