addCodonFrame: Internal CrispRVariants function for indicating codon frame...

Description Usage Arguments Value Author(s)

View source: R/plotAlignments.R

Description

Adds vertical dotted lines in intervals of three nucleotides. Codon frame is supplied, alignments are assumed not to span an intron-exon junction.

Usage

1
addCodonFrame(p, width, codon.frame)

Arguments

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

Value

A ggplot object with added vertical lines indicating the frame

Author(s)

Helen Lindsay


CrispRVariants documentation built on Nov. 8, 2020, 11:09 p.m.