Entering edit mode
samantha.haque • 0@c711f2f7
Last seen 12 months ago
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!
Thank you so much, this is working now :)