plotCoverage | R Documentation |
This function visualises histograms showing the coverage or starting point of gene conversion events in a given set of annotation generated from batchConvertAnalysis
, using definition of events.
plotCoverage( tb, repertoire, column1 = NULL, column2 = NULL, type = c("coverage", "start"), definition = c("narrow", "broad", "both") )
tb |
data.frame, output from |
repertoire |
A named vector of strings storing nucleotide sequences observed from a repertoire. The |
column1 |
optional, character corresponding to a column name in |
column2 |
optional, character corresponding to a column name in |
type |
character, either 'coverage' (i.e. how often is a given DNA position included within gene conversion events?) or 'start' (i.e. how often do gene conversion events start at a given DNA position?). |
definition |
character. Indicates which definition of gene conversion event boundaries are to be used. Can take the values of any one of 'narrow' (the strict start/end points given by |
A ggplot2 object showing the histograms, with x-axis showing the DNA position and y-axis showing the percentage of gene conversion events which cover/start at the given position. Framework (FW) or CDR positions are coloured differently. If column1
and/or column2
are provided separate histograms will be plotted for different data partitions specified along the two given columns present in tb
, arranged side-by-side.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.