powered by
The functions returns a matrix of correlation coefficients and/or a set of scatterplots showing the relationship between samples
getCorrelation(object,method="pearson",plot=FALSE)
a methylBase object
a character string indicating which correlation coefficient (or covariance) is to be computed (default:"pearson", other options are "kendall" and "spearman")
scatterPlot if TRUE (default:FALSE)
a correlation matrix object and plot scatterPlot
# NOT RUN { data(methylKit) getCorrelation(methylBase.obj,method="pearson",plot=FALSE) # }
Run the code above in your browser using DataLab