I have methylation count data in the following two matrices.
cov <- matrix(sample(0:7, 100,replace=TRUE), nrow=10, ncol=10)
colnames(cov) <- c("group1_1", "group1_2", "group1_3", "group1_4", "group1_5", "group2_1", "group2_2", "group2_3", "group2_4", "group2_5")
meth <- matrix(sample(7:10, 100,replace=TRUE), nrow=10, ncol=10)
colnames(meth) <- c("group1_1", "group1_2", "group1_3", "group1_4", "group1_5", "group2_1", "group2_2", "group2_3", "group2_4", "group2_5")
First five samples in each matrix belong to group1, second five samples to group2.
I've been asked to look at correlations across the matrices across samples, with the purpose of identifying outliers. How do I perform this test and what should I be looking for?