Learn R Programming

BCellMA (version 0.3.2)

aa_plot: Plot of average frequency of nucleotide mutations resulting in amino acid substitution

Description

The average frequency of nucleotide mutations resulting in amino acid substitution can be plotted as an aa_plot().

Usage

aa_plot(data, text, legend.position, characteristics)

Arguments

data
Results from the function aa_dist or aa_cdr3_dist.
text
The legend of the plot.
legend.position
The position of the legend. It can be "none","left", "right", "bottom", "top".
characteristics
is a data set "data(Klassen)" in this package

Value

Output is the plot of average frequency of nucleotide mutations resulting in amino acid substitution. The classes are divided according to IMGT.

References

Pommie C., Levadoux S., Sabatier R., Lefranc G., and Lefranc MP. IMGT standardizedcriteria for statistical analysis of immunoglobulin V-REGION amino acid properties.J MolRecognit, 17(1):17-32, 2004.

Examples

Run this code
data(IMGTtab7)
Regions<-cbind(IMGTtab7$FR1_IMGT,IMGTtab7$CDR1_IMGT)
allRegions_matrix<-aa_dist(Regions)
data(Klassen)
aa_plot(allRegions_matrix, "Amino acid Distribution", "right", Klassen)

Run the code above in your browser using DataLab