cor.paired: cor.paired : Correlation calculation with nearest neighbor

Description Usage Arguments Details Value

View source: R/useFonc.r

Description

cor.paired : Correlation calculation with nearest neighbor

Usage

1
cor.paired(meth, pas = 1)

Arguments

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 ...

Details

This function makes it possible to calculate the correlation with the nearest neighbor (or the second or third, etc.). Correlation of pearson by default.

Value

a vector of correlation


jumentib/useFonc documentation built on Nov. 18, 2019, 3:17 p.m.