CodonChoiceBiases: Biases in Rule Choice.

View source: R/xegaGeCodonPrecision.R

CodonChoiceBiasesR Documentation

Biases in Rule Choice.

Description

Measures the biases in rule choice for each non-terminal. Statistics computed:

  • dP: Difference in probability between random choice with equal probability and modulo rule with a codon precision.

  • dH: Difference in entropy between random choice with equal probability and modulo rule with a codon precision.

Usage

CodonChoiceBiases(cv, precision)

Arguments

cv

Choice vector of grammar.

precision

Number of bits of codon.

Value

Data frame with the following columns

  • $precision: Number of bits.

  • $cv: i-th element of the choice vector.

  • $dp: Deviation from choice with equal probability for $precision.

  • $dH: Entropy difference between choice with equal probability and biased choice for $precision.

See Also

Other Diagnostics: CodonChoiceBiasesDeprecated(), CodonPrecision(), tLCM()

Examples

 CodonChoiceBiases(c(1, 2, 3, 5), 3)
 CodonChoiceBiases(c(1, 2, 3, 5), 5)

xegaGeGene documentation built on June 8, 2025, 1:09 p.m.