Entering edit mode
@lalchungnungabt17-16075
Last seen 4.0 years ago
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
Why do you want to have a GRanges with the methylation data in the mcols, rather than just using the GenomicRatioSet as intended? Is there something that you plan on doing that cannot be accomplished using the usual minfi pipeline?