get_gc4d | R Documentation |
Calculate GC content at synonymous position of codons (using four-fold degenerate sites only).
get_gc4d(cf, codon_table = get_codon_table(), level = "subfam")
cf |
matrix of codon frequencies as calculated by |
codon_table |
a table of genetic code derived from |
level |
"subfam" (default) or "amino_acid". For which level to determine GC contents at 4-fold degenerate sites. |
a named vector of GC4d values.
# estimate GC4d of yeast genes
cf_all <- count_codons(yeast_cds)
gc4d <- get_gc4d(cf_all)
head(gc4d)
hist(gc4d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.