transformAlnsToLong {CrispRVariants} | R Documentation |
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
.
transformAlnsToLong(ref, alns, add.other = FALSE)
ref |
The reference sequence |
alns |
Character vector of aligned sequences |
add.other |
Add a blank row labelled "Other" (Default: FALSE) |
A matrix of characters and plotting locations
Helen Lindsay