Learn R Programming

CINOEDV (version 2.0)

CombinationEntropy: Combination Entropy Computation

Description

This function compute combination entropy of given variables. These variables can be one SNP, the class label, SNP-combination, or SNP-combination-class label.

Usage

CombinationEntropy(data)

Arguments

data
matrix. The given variables, for example, data <- cbind(pts[,factor],t(class))

Value

Combination_Entropy_Value: matrix. combination entropy value.

References

None

Examples

Run this code
data(pts)
data(class)
factor <- c(2, 5)
data <- cbind(pts[,factor],t(class))
V <- CombinationEntropy(data)
Combination_Entropy_Value <- V$Combination_Entropy_Value

Run the code above in your browser using DataLab