getMI: Mutual information of two numeric vectors

Description Usage Arguments Details Value Author(s) References Examples

View source: R/getMI.R

Description

Evaluates the mutual information of two aligned numeric vectors

Usage

1
2
getMI(x,y)
getMI(x,y, normalize=TRUE, negateMI=FALSE)

Arguments

x

A numeric vector

y

A numeric vector

bin

An integer specifying the bin number

so

An integer specifying spline order

normalize

A logical indicating whether you want a normalized mutual information

negateMI

A logical indicating whether you want a signed mutual information

Details

Evaluates the mututal information using B-spline functions.

Value

The mutual information of x and y

Author(s)

Wei-Yi Cheng

References

Carsten O Daub, Ralf Steuer, Joachim Selbig and Sebastian Kloska, Estimating mutual information using B-spline functions - an improved similarity measure for analysing gene expression data. BMC Bioinformatics 2004, 5:118.

Wei-Yi Cheng, Tai-Hsien Ou Yang and Dimitris Anastassiou, Biomolecular events in cancer revealed by attractor metagenes, PLoS Computational Biology, Vol. 9, Issue 2, February 2013.

Examples

1
	getMI(c(0.1,0.5,0.9,10),c(0,0.2,0.7,0.9))

th86/gislkit documentation built on Oct. 10, 2018, 7:20 p.m.