--
You received this message because you are subscribed to the Google Groups "methylkit_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to methylkit_discus...@googlegroups.com.
To post to this group, send email to methylkit_...@googlegroups.com.
Visit this group at http://groups.google.com/group/methylkit_discussion.
For more options, visit https://groups.google.com/d/optout.
there is no function to get such a table. But methylKit objects are coercible to GRanges objects from GenomicRanges. Using functions from GenomicRanges you can get such a table. I don't have an example code for that though. You can check GenomicRanges vignette, and some other people in the forum asked for a custom table like that, you can check those threads as well, but answer will not be much different from this.Best,Altuna
On Wed, Oct 15, 2014 at 11:18 PM, Alejandro <alejandro...@gmail.com> wrote:
HI
I have nicely identified DM-CpG and annotated them. Now I want to do some questions to my data, like:
which are the genes that have DM-CpG in promoters whose difference with the control is > 50%?
Which are the genes that have DM-CpGs in exons but not in promoters?
and these kind of question
then I'm looking for and object that I can print as a table that contains that information, kind of"
CpG Chr start end GeneID promoter exon intron %diff
Is there any table like that. If I understand what it has been discuss in certain post it looks like I have to to that outside methylKit. I'm right?
I look at the genomic range user guide but does not seems to produce this can of table neither.
Can some one hellp with this?
thanks!
--
You received this message because you are subscribed to the Google Groups "methylkit_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to methylkit_discussion+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to methylkit_discus...@googlegroups.com.
--
I was trying to follow your blog “Extending methylKit : Extract promoters with differentially methylated CpGs”
And I got a list with my DM-CpG overlapping promoters. However still I can not get the name of genes and info about methylation
my methylDiff object (called myDiff) is lke this
> head(myDiff)
methylDiff object with 6 rows
--------------
chr start end strand pvalue qvalue meth.diff
1 chr1 109 109 * 0.61932523 0.8603847 1.322751
2 chr1 115 115 * 0.25197783 0.5729940 -4.483048
3 chr1 161 161 * 0.26025821 0.5729940 5.505142
4 chr1 310 310 * 0.64983930 0.8832111 2.763158
5 chr1 500 500 * 0.06680346 0.4517701 11.034295
6 chr1 511 511 * 0.32199412 0.5866261 5.961400
and the gene.obj look like this:
> head(gene.obj)
GRangesList of length 4:
$exons
GRanges with 217183 ranges and 2 metadata columns:
seqnames ranges strand | score name
<Rle> <IRanges> <Rle> | <integer> <character>
[1] chr1 [3631, 3913] + | 1 AT1G01010
[2] chr1 [3996, 4276] + | 2 AT1G01010
[3] chr1 [4486, 4605] + | 3 AT1G01010
[4] chr1 [4706, 5095] + | 4 AT1G01010
[5] chr1 [5174, 5326] + | 5 AT1G01010
Here is a blog post that does something close it. It may help in extracting the list of diff CpGs overlapping element of interest or vice versa.
Regards,
Kalyan
On 16 October 2014 00:18, Alejandro <alejandro...@gmail.com> wrote:
HI
I have nicely identified DM-CpG and annotated them. Now I want to do some questions to my data, like:
which are the genes that have DM-CpG in promoters whose difference with the control is > 50%?
Which are the genes that have DM-CpGs in exons but not in promoters?
and these kind of question
then I'm looking for and object that I can print as a table that contains that information, kind of"
CpG Chr start end GeneID promoter exon intron %diff
Is there any table like that. If I understand what it has been discuss in certain post it looks like I have to to that outside methylKit. I'm right?
I look at the genomic range user guide but does not seems to produce this can of table neither.
Can some one hellp with this?
thanks!
--
You received this message because you are subscribed to the Google Groups "methylkit_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to methylkit_discussion+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to methylkit_discus...@googlegroups.com.
> head(gene.obj)
GRangesList of length 4:
$exons
GRanges with 217183 ranges and 2 metadata columns:
seqnames ranges strand | score name
<Rle> <IRanges> <Rle> | <integer> <character>
[1] chr1 [3631, 3913] + | 1 AT1G01010
[2] chr1 [3996, 4276] + | 2 AT1G01010
[3] chr1 [4486, 4605] + | 3 AT1G01010
[4] chr1 [4706, 5095] + | 4 AT1G01010
[5] chr1 [5174, 5326] + | 5 AT1G01010
Regards,
Kalyan
Regards,
Kalyan
To unsubscribe from this group and stop receiving emails from it, send an email to methylkit_discussion+unsubscrib...@googlegroups.com.
To post to this group, send email to methylkit_...@googlegroups.com.
Visit this group at http://groups.google.com/group/methylkit_discussion.
For more options, visit https://groups.google.com/d/optout.
Kaylan.
What if: first I subset my methyl diff objects to extract rows that are overlapping promoters:
# Get the list of differentially methylated CpGs overlapping the promoters
myHyper_CpGs_inPromoters= subsetByOverlaps(myHyper_GR, gene.obj$promoters);
myHypo_CpGs_inPromoters= subsetByOverlaps(myHypo_GR, gene.obj$promoters);
THe I subset my gene.obj
myPromoters=subsetByOverlaps(gene.obj, gene.obj$promoters)
then I export both: myHyper_CpGs (or my Hypo_CpGs) and myPromoters to BED files/
then I use bed tool to combine (intercept) both tables, e.g. myHyper_CpGs with myPromoters (I suppose that if both tables are sorted the same the data from gene.obj will be aggreated to the data of my methyldiff object.
Is there something that you see is wrong with this approach?
PLEASE HELP ME TO UNDERSTAND THIS.
If I head the gene.obj I get this:> head(gene.obj)
GRangesList of length 4:
$exons
GRanges with 217183 ranges and 2 metadata columns:
seqnames ranges strand | score name
<Rle> <IRanges> <Rle> | <integer> <character>
[1] chr1 [3631, 3913] + | 1 AT1G01010
[2] chr1 [3996, 4276] + | 2 AT1G01010
[3] chr1 [4486, 4605] + | 3 AT1G01010
[4] chr1 [4706, 5095] + | 4 AT1G01010
[5] chr1 [5174, 5326] + | 5 AT1G01010
WHERE IS THE INFORMATION ABOUT PROMOTERS?
because when I subset by overlap following this:
> diff_promo= subsetByOverlaps(gene.obj$promoters, mydiff_GR)
i do not understand where in the previous table there is information that allows the command to identify rows overlapping promoters.
To unsubscribe from this group and stop receiving emails from it, send an email to methylkit_discus...@googlegroups.com.
Pls see my reply in text below. Note that the solution for your tabuelated output is not straight forward. It needs familiarity with the suggested package below.
Here is a blog post that does something close it. It may help in extracting the list of diff CpGs overlapping element of interest or vice versa.
Regards,
Kalyan
On 16 October 2014 00:18, Alejandro <alejandro...@gmail.com> wrote:
HI
I have nicely identified DM-CpG and annotated them. Now I want to do some questions to my data, like:
which are the genes that have DM-CpG in promoters whose difference with the control is > 50%?
Which are the genes that have DM-CpGs in exons but not in promoters?
and these kind of question
then I'm looking for and object that I can print as a table that contains that information, kind of"
CpG Chr start end GeneID promoter exon intron %diff
Is there any table like that. If I understand what it has been discuss in certain post it looks like I have to to that outside methylKit. I'm right?
I look at the genomic range user guide but does not seems to produce this can of table neither.
Can some one hellp with this?
thanks!
--
You received this message because you are subscribed to the Google Groups "methylkit_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to methylkit_discussion+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to methylkit_discus...@googlegroups.com.