Description Usage Arguments Details Value
cor.pas : Correlation calculation with nearest neighbor (with genetic distance)
1 | cor.pas(meth, pas = 1)
|
meth |
matrice of mDNA (the matrix needs to be ordered according to the chromosomes and the chromosomal position) |
pas |
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. The function cor.pas and different from the functions cor.paired, for not > 1 it does not calculate the correlation with all the neighbors (see the code of the function to understand).
a vector of correlation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.