Description Usage Arguments Details Value Author(s) Examples
Make a Parity rule 2 (PR2) plot, where the AT-bias [A3/(A3 +T3)] at the third codon position of the four-codon amino acids of entire genes is the ordinate and the GC-bias [G3/(G3 +C3)] is the abscissa. The center of the plot, where both coordinates are 0.5, is where A = U and G = C (PR2), with no bias between the influence of the mutation and selection rates.
1 | PR2.plot(fasta.df)
|
fasta.df |
a data frame with seq_name and its DNA sequence. |
For more information about PR2 plot Butt et al., 2016.
A ggplot object.
Ali Mostafa Anwar ali.mo.anwar@std.agr.cu.edu.eg and Mohmed Soudy MohmedSoudy2009@gmail.com
1 2 3 4 5 6 7 | # read DNA from fasta file
fasta <- fasta.read("virus.fasta", "host.fasta")
fasta.v <- fasta[[1]]
fasta.h <- fasta[[2]]
PR2.plot(fasta.v)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.