Description Usage Arguments Details Value Author(s) Examples
Make an ENc-GC3 scatterplot. Where the y-axis represents the ENc values and the x-axis represents the GC3 content. The red fitting line shows the expected ENc values when codon usage bias affected solely by GC3.
1 | ENc.GC3plot(enc.df, gc.df)
|
enc.df |
a data frame with ENc values. |
gc.df |
a data frame with GC3 values. |
For more information about ENc-GC3 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 8 9 | # read DNA from fasta file
fasta <- fasta.read("virus.fasta", "host.fasta")
fasta.v <- fasta[[1]]
enc.df.virus <- ENc.values(fasta.v)
gc.df <- GC.content(fasta.v)
ENc.GC3plot(enc.df.virus, gc.df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.