EvaluationMeasure: Evaluation Measure

Description Usage Arguments Value Author(s) References Examples

View source: R/EvaluationMeasure.R

Description

This function provides several co-information based measures for measuring main or interaction effect of a SNP or 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)

measure

numeric. The used evaluation measure. 1 -> the classic co-information measure; 2 -> the normalized co-information measure; 3 -> TingHu's co-informationn measure.

Value

Value: matrix. The main or interaction effect value corresponding to a sing SNP or a SNP combination.

Author(s)

Junliang Shang shangjunliang110@163.com

References

None

Examples

1
2
3
4
5
factor <- c(2,5)
data(pts)
data(class)
V <- EvaluationMeasure(factor, pts, class, measure = 1)
Value <- V$Value


CINOEDV documentation built on May 19, 2017, 7:27 p.m.
Search within the CINOEDV package
Search all R packages, documentation and source code

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

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

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