Learn R Programming

MEET (version 5.1.1)

entropy.corrected: Correction of the Finite Sample Size Effect

Description

Each training matrix is formed by a finite number of samples. The probability estimation error using the nucleotide frequency causes a bias on the uncertainty measurement

Usage

entropy.corrected(H, ErrorHX, HXmax)

Arguments

H
Entropy
ErrorHX
Error Entropy
HXmax
Maximum Entropy

Details

This function uses the results of correction.entropy and correctionaprox functions.

See Also

correctionaprox, correction.entropy

Examples

Run this code
require("MEET")
data(BackgroundOrganism)
data(iicc)
Factortrans<-iicc$Transcriptionfactor
correction<-correction.entropy(q=iicc$q,p=nrow(Factortrans),long=1,iicc)
ErrorHX<-slot(correction,"sderror")[nrow(Factortrans)]
HXmax<-iicc$HXmax
prob<-probability(Factortrans,Prob)
H<-entropy.Shannon(prob)
test<-entropy.corrected(H,ErrorHX,HXmax)

Run the code above in your browser using DataLab