Description Usage Arguments Value Author(s) References Examples
View source: R/CoInformation.R
This function compute co-information value of a given SNP combination.
1 |
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) |
Co_Information_Value: matrix. co-information value of a give SNP combination.
Junliang Shang shangjunliang110@163.com
None
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.