Learn R Programming

MEDIPS (version 1.22.0)

MEDIPS.correlation: Calculates pairwise Pearson correlations between provided MEDIPS SETs

Description

The function calculates genome wide Pearson correlations between all pairs of provided MEDIPS SETs.

Usage

MEDIPS.correlation(MSets=NULL, plot = T, method="spearman")

Arguments

MSets
a concatenated set of MEDIPS SETs
plot
if specified, the correlation will be depicted as a scatter plot
method
default: spearman; alternatives: kendall, spearman

Value

a correlation matrix

Examples

Run this code

library(MEDIPSData)
data(hESCs_MeDIP)
data(DE_MeDIP)

correlation = MEDIPS.correlation(MSets=c(hESCs_MeDIP[[1]], DE_MeDIP[[1]]), plot = FALSE)

Run the code above in your browser using DataLab