toGRanges help!
1
0
Entering edit mode
@c711f2f7
Last seen 2.6 years ago
United Kingdom

Hello, I'm very new to using R and Bioconductor and I'm having some trouble converting a txdb file to a GRanges file. I have installed the GenomicRanges package. I think GenomicRanges has installed correctly as I get other options for this package but cannot seem to access 'toGRanges'

annotation_file <- toGRanges(txdb, feature="gene")

My output is then:

Error in toGRanges(txdb, feature = "gene") : 
  could not find function "toGRanges"

I am currently using RStudio Version 1.4.1717. Any help would be greatly appreciated!

GenomicRanges toGRanges Bioconductor • 1.8k views
ADD COMMENT
3
Entering edit mode
Basti ▴ 780
@7d45153c
Last seen 8 days ago
France

This function is not part of the Grangespackage but the ChIPpeakAnno package : https://www.rdocumentation.org/packages/ChIPpeakAnno/versions/3.6.5/topics/toGRanges

ADD COMMENT
0
Entering edit mode

Thank you so much, this is working now :)

ADD REPLY

Login before adding your answer.

Traffic: 518 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