Learn R Programming

seqinr (version 1.0-4)

tablecode: to plot genetic code as in textbooks

Description

This function plots a genetic code table as in textbooks, that is following the order u > c > a > g so that synonymous codons are almost always in the same boxes.

Usage

tablecode(numcode = 1, urn.rna = c("u", "c", "a", "g"), dia = TRUE, latexfile = NULL)

Arguments

numcode
The genetic code number as in translate
urn.rna
The letters to display codons, use c("t","c", "a","g") if you want the code in terms of DNA sequence
dia
to produce a yellow/blue plot for slides
latexfile
The name of a LaTex file if you want to redirect the output

References

citation("seqinr")

See Also

translate

Examples

Run this code
tablecode()

Run the code above in your browser using DataLab