Learn R Programming

synRNASeqNet (version 1.0)

entropyMM: Miller-Madow corrected Entropy Estimate

Description

Computing the Miller-Madow corrected Entropy Estimate of cellCounts.

Usage

entropyMM(cellCounts, unit = unit)

Arguments

cellCounts
an integer vector (or matrix) representing the number of times each particular count is obtained.
unit
the unit in which entropy is measured. One of "bit" (log2, default), "ban" (log10) or "nat" (natural units).

Value

The entropyMM function returns the value of the entropy of that gene H(X) (or pair of genes H(X,Y)).

References

Miller G.A. (1955). Note on the bias of information estimates. Information Theory in Psychology, II-B pp. 95-100.

See Also

entropyML, entropyBayes, entropyCS, entropyShrink

Examples

Run this code
simData <- simulatedData(p = 50, n = 100, mu = 100, sigma = 0.25,
                        ppower = 0.73, noise = FALSE)
cellCounts <- table(simData$counts[1, ])
eMM <- entropyMM(cellCounts, unit = "nat")

Run the code above in your browser using DataLab