get_gc {cubar} | R Documentation |
GC contents
Description
Calculate GC content of the whole sequences.
Usage
get_gc(cf)
Arguments
cf |
matrix of codon frequencies as calculated by 'count_codons()'. |
Value
a named vector of GC contents.
Examples
# estimate GC content of yeast genes
cf_all <- count_codons(yeast_cds)
gc <- get_gc(cf_all)
head(gc)
hist(gc)
[Package cubar version 0.6.0 Index]