powered by
get_gc calculates the overall GC content (percentage of guanine and cytosine nucleotides) for each coding sequence.
get_gc
get_gc(cf)
A named numeric vector of GC content values (ranging from 0 to 1). Names correspond to sequence identifiers from the input matrix.
A matrix of codon frequencies as calculated by count_codons(). Rows represent sequences and columns represent codons.
count_codons()
# 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")
Run the code above in your browser using DataLab