get_gc | R Documentation |
get_gc
calculates the overall GC content (percentage of guanine and
cytosine nucleotides) for each coding sequence.
get_gc(cf)
cf |
A matrix of codon frequencies as calculated by |
A named numeric vector of GC content values (ranging from 0 to 1). Names correspond to sequence identifiers from the input matrix.
# Calculate GC content for yeast genes
cf_all <- count_codons(yeast_cds)
gc <- get_gc(cf_all)
head(gc)
hist(gc, main = "Distribution of GC content")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.