Description Usage Arguments Details Value References See Also Examples
getMatMI
allows the computation of the mutual information between SNP pairs within 1 genomic regions or between 2 genomic regions.
1 |
Region1 |
A nxp1 |
Region2 |
A nxp2 |
allelic |
A flag indicating whether data are allelic |
getMatMI
is an implementation of the statistical procedure proposed in Friguet and Emily (2013). When considering only 1 genomic region (i.e. when Region2=NULL
), getMatMI
computes the pairwise mutual information between all pairs of SNPs : MI((i,j),(k,l)) where MI is the Mutual Information, (i,j) two SNPs within the genomic region and (k,l) two SNPs within the same genomic regions. When considering only 2 genomic regions (i.e. when Region2!=NULL
), getMatMI
computes the pairwise mutual information between pairs of SNPs across the two regions: MI((i,j),(k,l)) where MI is the Mutual Information, (i,j) two SNPs within the first genomic region and (k,l) two SNPs within the second genomic regions.
An object of class MIMatrix
which is a list containing the following components:
mat.MI |
A a p1xp2xp1xp2 |
nb.locus |
An |
Friguet, C. and Emily, M. Selection de marqueurs pour la detection d'interactions de genes. Proceedings of 45emes Journees de Statistique, May 2013, Toulouse, France. pp.178, 2013.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ############
## Example with simulated allelic data
############
data(RegionA)
data(RegionB)
MatMI <- getMatMI(Region1=RegionA,Region2=RegionB,allelic=TRUE)
############
## Example with a real subset of genotypic data
############
## Loading of the genotypic data
load(system.file("extdata/Chr15_20S.Rdata", package="EpiTag"))
## Computation of the mutual information
MatMI15 <- getMatMI(Region1=Chr15.20S)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.