Dear All ,
I have a list of CpG sites and the genes lying close to the CpG sites, the respective beta values and gene expression values as well. I had use GRanges to find the nearby pairs of CpGs and Genes. Next, I wanted to test association or relation between the methylation of a CpG sites and the expression of the gene it lies close to. I would've performed pearson correlation, but I was wondering if there are any other methods that someone of you can suggest?
I look forward to your response and thank you in advance,
Best, S
2 answers
I've used correlation for similar things in the past, but I'd be skeptical of the p-values not being inflated. I'd consider using some sort of randomisation to generate the p-values.
I've used https://www.bioconductor.org/packages/release/bioc/html/InTAD.html to do this sort of thing.
Log in to answer this question.