entropyCS: Chao-Shen Entropy Estimate

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/entropyCS.R

Description

Computing the Chao-Shen Entropy Estimate of cellCounts.

Usage

1
entropyCS(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 entropyCS function returns the value of the entropy of that gene H(X) (or pair of genes H(X,Y)).

Author(s)

Luciano Garofano lucianogarofano88@gmail.com, Stefano Maria Pagnotta, Michele Ceccarelli

References

Chao A., Shen T.J. (2003). Nonparametric estimation of Shannon's index diversity when there are unseen species. Environmental and Ecological Statistics, vol. 10 pp. 429-443.

See Also

entropyML, entropyMM, entropyBayes, entropyShrink

Examples

1
2
3
4
simData <- simulatedData(p = 50, n = 100, mu = 100, sigma = 0.25,
                        ppower = 0.73, noise = FALSE)
cellCounts <- table(simData$counts[1, ])
eCS <- entropyCS(cellCounts, unit = "nat")

Example output

Loading required package: parallel
Loading required package: parmigene
Loading required package: GenKern
Loading required package: KernSmooth
KernSmooth 2.23 loaded
Copyright M. P. Wand 1997-2009
Loading required package: igraph

Attaching package: 'igraph'

The following objects are masked from 'package:stats':

    decompose, spectrum

The following object is masked from 'package:base':

    union

synRNASeqNet documentation built on May 2, 2019, 6:01 a.m.