cor.paired : Correlation calculation with nearest neighbor
cor.paired(meth, pas = 1)
matrice of mDNA (the matrix needs to be ordered according to the chromosomes and the chromosomal position)
1 by default, corresponds to the nearest neighbor. 2 for the second closest neighbor and etc ...
This function makes it possible to calculate the correlation with the nearest neighbor (or the second or third, etc.). Correlation of pearson by default.
a vector of correlation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.