CoInformation: Co-Information Computation

Description Usage Arguments Value Author(s) References Examples

Description

This function compute co-information value of a given SNP combination.

Usage

1

Arguments

pts

matrix. SNP data. Each row represents a sample. Each column represents a SNP. For the element, 1 -> AA, 2 -> Aa, 3 -> aa.

class

matrix. Class labels of samples. It only has one row. Each column represents a class label. For the element, 1 -> case, 2-> control.

factor

numeric. The considered SNP or SNP-combination. For example, factor <- 5, or factor <- c(2,5)

Value

Co_Information_Value: matrix. co-information value of a give SNP combination.

Author(s)

Junliang Shang shangjunliang110@163.com

References

None

Examples

1
2
3
4
5
data(pts)
data(class)
factor <- c(2,5)
V <- CoInformation(pts, class, factor)
Co_Information_Value <- V$Co_Information_Value


Search within the CINOEDV package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.