matrixSNP: Correlation between methylation states

Description Usage Arguments Details Value Author(s) Examples

View source: R/MethVisual.R

Description

Correlation between methylation states for each CpG position and each sequence under study

Usage

1
matrixSNP(methData,correlation)

Arguments

methData

List; contains information on the pairwise alignments, and methylated CpG motifs.

correlation

calculation of corraltion on Matrix, if TRUE: calculation of spearman correlation matrix. if FALSE: computes a matrix with absolut numberes of methylation over all CpG position given methylation in a certain CpG sites.

Details

The function enable the user to explore cooccurrence between non neighbored CpG sites, which can be made by calculating all pairwise cooccurrences, due to correlation over all methylation CpG sites. Furthermore it is possible to display the computed distance cooccurrences in a plot containing all CpG sites and their correlation with other CpG sites. The correlation values are color coded (gray levels) and the color coding bar is given beside the graph. The red numbers in the diagonal give the genomic position of each displayed CpG site.

Value

Returns a correlation matrix displaying dependencies values for all CpG positions

Author(s)

Arie Zackay <[email protected]>, Christine Steinhoff <[email protected]>

Examples

1
2
3
## using methData
data(methData)
matrixSNP(methData)

methVisual documentation built on May 2, 2018, 2:49 a.m.