Hello, Thanks for the awesome tool. We are using edgeR for the RRBS for differential methylation analysis on multi regional tumors (multiple regions collected from each tumour). One of our purpose is to find out if there is any different pattern of methylation between the regions in a tumour in a particular tumour. So in this case I do not have any replicate (I have one library for regionA and one library for regionB in a tumour) I see you have some suggestions to run EdgeR when there is no replicate but I am wondering how it should be performed for the methylation data, not gene expression? For example what would be ideal bcc value?
I managed to create the following list. I thought I can assign group 1 to region A and group 2 to region B and do exactTest(y, dispersion=bcv^2) But I do not think it is correct because I h ave methylated and unmethylated read counts for each region.
I really appreciate if you could help me how I can proceed to find out if there is any difference in methylation between two or more regions in a tumour when there is no replicate (one library per region)? Thanks
Enter the body of text here
Code should be placed in three backticks as shown below
> y
An object of class "DGEList"
$counts
SRC159-T1-Me SRC159-T1-Un SRC159-T2-Me SRC159-T2-Un
1-10525 55 9 23 9
1-10526 72 21 61 7
1-10542 33 31 20 12
1-10543 44 49 51 17
1-10563 30 34 17 15
9470247 more rows ...
$samples
group lib.size norm.factors
SRC159-T1-Me 1 57103934 1
SRC159-T1-Un 1 44889934 1
SRC159-T2-Me 2 33037087 1
SRC159-T2-Un 2 22688158 1
$genes
Chr Locus
1-10525 1 10525
1-10526 1 10526
1-10542 1 10542
1-10543 1 10543
1-10563 1 10563
9470247 more rows ...
sessionInfo( )
Thanks for your prompt reply. OK. I see your point regarding using glmFit and glmLRT. My main confusion is how assigning groups to samples! As I mentioned in my example above, for each region we have methylated and unmethylated reads. I grouped all reads belonging to region1 (methylated or unmethylayed ) into group1 and all reads belonging to region2 (methylated or unmethylayed ) into group2. I am not sure if this is the right approach?
The correct approach for assigning samples to groups is completely laid out in the documentation that I refered you to. The methylated and unmethylated reads for each sample are treated as paired in the analysis. The section called "a very small example" in the article I cite above considers in detail a small dataset without replicates exactly like yours. You can follow the example almost exactly.