addCodonFrame {CrispRVariants} | R Documentation |
Adds vertical dotted lines in intervals of three nucleotides. Codon frame is supplied, alignments are assumed not to span an intron-exon junction.
addCodonFrame(p, width, codon.frame)
p |
A ggplot object, typically from CrispRVariants:::makeAlignmentTilePlot |
width |
The number of nucleotides in the alignments |
codon.frame |
The leftmost starting location of the next codon - 1,2,or 3 |
A ggplot object with added vertical lines indicating the frame
Helen Lindsay