plotEvents | R Documentation |
This function visualises gene conversion events along the V gene listed in annotation
. The start-end ranges are represented as thick lines and the 'broader' definition including the padded 5'/3' sequence stretched are represented as thin lines. Vertical lines indicate boundaries between framework regions and CDR.
plotEvents( annotation, repertoire, thickness = c(0.8, 0.3), show.sequence.names = FALSE, highlight.genes = NULL )
annotation |
data.frame, output from |
repertoire |
A named vector of strings storing nucleotide sequences observed from a repertoire. The |
thickness |
A numeric vector. Controls the thickness of lines plotted. The first number corresponds to the line representing the region from |
show.sequence.names |
Do you want the sequence identifiers to be printed on the vertical axis of the output plot? Recommended to set to |
highlight.genes |
optional, a character vector consisting of gene names which are to be highlighted with different colours in the output plot. |
A ggplot2 object. See description for details. If highlight.genes
is not NULL
and the given genes can be found in annotation$gene
, gene conversion events using these genes will be highlighted in different colours.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.