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


HLindsay/CrispRVariants documentation built on May 28, 2019, 12:40 p.m.