Creating GRanges object
0
0
Entering edit mode
@lalchungnungabt17-16075
Last seen 6 months ago

I have a methylation data in GenomicRatioSet (i call it Mset).

  1. I extracted the methylation beta values MB_betas=getBeta(Mset)

  2. Next, i extracted the co-ordinates as you have suggested MB_granges=granges(Mset)

  3. 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

microarray minfi GenomicRatio GRanges Methylation • 302 views
ADD COMMENT
0
Entering edit mode

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?

ADD REPLY

Login before adding your answer.

Traffic: 349 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6