cellCounts
.
entropyML(cellCounts, unit = unit)
"bit"
(log2, default),
"ban"
(log10) or "nat"
(natural units).
entropyML
function returns the value of the entropy of that gene
H(X)
(or pair of genes H(X,Y)
).
entropyMM, entropyBayes,
entropyCS, entropyShrink
simData <- simulatedData(p = 50, n = 100, mu = 100, sigma = 0.25,
ppower = 0.73, noise = FALSE)
cellCounts <- table(simData$counts[1, ])
eML <- entropyML(cellCounts, unit = "nat")
Run the code above in your browser using DataLab