> annotateWithGeneParts(as(myDiff25p,"GRanges"),gene.obj)
# Summary of target set annotation with genic parts
# Rows in target set: 489
# -----------------------
# percentage of target features overlapping with annotation:
# promoter exon intron intergenic
# 13.09 29.86 33.74 35.17 # (with promoter > exon > intron precedence)Addon: I just realized maybe it would be also useful to export the (intergenic) features from the created object gene.obj=readTranscriptFeatures("some.bed").
--
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 post to this group, send email to methylkit_discussion@googlegroups.com.
Visit this group at https://groups.google.com/group/methylkit_discussion.
For more options, visit https://groups.google.com/d/optout.
Dear Britta,I don't completely understand the problem but it seems like you are trying to customize annotateWithGeneParts. This can be done by annotateWithFeatures method.
https://rdrr.io/bioc/genomation/man/annotateWithFeatures-methods.htmlBest,Altuna
On Wed, Oct 11, 2017 at 7:29 PM, Britta <britta....@gmail.com> wrote:
Addon: I just realized maybe it would be also useful to export the (intergenic) features from the created object gene.obj=readTranscriptFeatures("some.bed").
--
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 post to this group, send email to methylkit_...@googlegroups.com.
Dear Altuna,I will have a look into the proposed command.My aim was to get the percentage of features across the whole genome using the same method as in generation/methylKit for smaller Granges - to have comparable numbers.I managed myself with a workaround. I subset the genome to chromosomes and created bed files with 1bp window. I get the bp counts per chromosome per feature with your command (annotate withGeneparts). I sum up all chromosomes and I have the total number and thus percentages.What about my second "unrelated" question. Is is possible to export the intergenic definition as granges/bed etc? I haven't found any tricky solution yet.Thanks a lot!Britta
Am Freitag, 13. Oktober 2017 22:12:05 UTC+2 schrieb Altuna Akalin:Dear Britta,I don't completely understand the problem but it seems like you are trying to customize annotateWithGeneParts. This can be done by annotateWithFeatures method.
https://rdrr.io/bioc/genomation/man/annotateWithFeatures-methods.htmlBest,AltunaOn Wed, Oct 11, 2017 at 7:29 PM, Britta <britta....@gmail.com> wrote:Addon: I just realized maybe it would be also useful to export the (intergenic) features from the created object gene.obj=readTranscriptFeatures("some.bed").
--
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 https://groups.google.com/group/methylkit_discussion.
For more options, visit https://groups.google.com/d/optout.
--
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 https://groups.google.com/group/methylkit_discussion.
For more options, visit https://groups.google.com/d/optout.