I have a methylation data in GenomicRatioSet (i call it Mset).
I extracted the methylation beta values MB_betas=getBeta(Mset)
Next, i extracted the co-ordinates as you have suggested MB_granges=granges(Mset)
I wanted to assign the meta-column of the GRanges i have obtained in the previous step. mcols(MBgranges)=MBbetas
*Is this the correct to create the GRanges object? I seem to have a strange result, which likely to come from the assigning the meta-data not in the correct order as original and can't figure it out OR is this the correct way of doing it?*
Thank you very much for your help in advance