seqinr (version 1.0-1)

ucoweight: Weight of each synonymous codon

Description

Returns a list containing, for each of the 20 amino acids + STOP codon, the codon usage bias of each of the synonymous codon according to a given codon sequence.

Usage

ucoweight(sequence, numcode = 1)

Arguments

sequence
A nucleic acids sequence
numcode
The genetic code number as in translate

Value

  • a list containing, for each of the 20 amino acids and STOP codon (list tags), the weight of each synonymous codon (including the original one).

References

citation("seqinr")

See Also

synsequence

Examples

Run this code
data(ec999)
  ucoweight(ec999[1][[1]])

Run the code above in your browser using DataCamp Workspace