CodonPrecisionWithThreshold: Precision of a codon which has a choice bias below a...

View source: R/xegaGeCodonPrecision.R

CodonPrecisionWithThresholdR Documentation

Precision of a codon which has a choice bias below a probability threshold.

Description

The choice bias is the sum of the absolute values of the difference between a k equally probable choices and the probability distribution of the modulo choice rule.

Usage

CodonPrecisionWithThreshold(LHS, pCrit)

Arguments

LHS

The left-hand side of a grammar object G.

pCrit

Threshold for the choice bias for a single non-terminal.

Details

For the computation of the precision, the function CodonPrecision() is used.

Value

The precision of a codon which guarantees that the choice bias for all non-terminals is below a probability threshold of pCrit.

See Also

Other Precision: MinCodonPrecision(), mLCMGCodonPrecision()

Examples

NT<-sample(5, 50, replace=TRUE)
CodonPrecisionWithThreshold(NT, 0.1)
CodonPrecisionWithThreshold(NT, 0.01)

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