score_fraction_optimal.Rd
Computes the fraction of codons with a codon stability score greater than zero.
score_fraction_optimal(sequence, csc = csc_default())
a character vector with DNA triplets
a named numeric
a numeric value in [0,1]
codons <- c("ATG", "TTA", "GAT", "TTA", "TAG") score_fraction_optimal(codons) #> [1] 0.5 score_fraction_optimal(as_codons("AUGUUAGAUUUAUAG")) #> [1] 0.5