getCorrelation-methods: get correlation between samples in methylBase object

Description Usage Arguments Value Examples

Description

The functions returns a matrix of correlation coefficients and/or a set of scatterplots showing the relationship between samples

Usage

1
  getCorrelation(object,method="pearson",plot=FALSE)

Arguments

object

a methylBase object

method

a character string indicating which correlation coefficient (or covariance) is to be computed (default:"pearson", other options are "kendall" and "spearman")

plot

scatterPlot if TRUE (default:FALSE)

Value

a correlation matrix object and plot scatterPlot

Examples

1
2
data(methylKit)
getCorrelation(methylBase.obj,method="pearson",plot=FALSE)

fortunatobianconi/methylkit documentation built on May 16, 2019, 1:51 p.m.