Hi,
I would like to construct a tx2gene data frame for summarizing transcript expression to gene level expression via tximport.
I did not get any errors when installing the "ensembldb" or the "EnsDb.Hsapiens.v86" packages as far as I noticed, I can also load them normally via the library function, however when i try to assign EnsDb.Hsapiens.v86 to some variable R tells me "Error: object 'EnsDb.Hsapiens.v86' not found".
I tried to install the packages in different ways, also tried "EnsDb.Hsapiens.v75", as well as "TxDb.Hsapiens.UCSC.hg19.knownGene", with the same outcome. Might there be something going on with the library?
Either way I am pretty much stuck on this and would really appreciate some help. Thanks in advance!
Best,
Michael
Could you please provide the code you are using and any output. Also please provide
sessionInfo()
so we know which version of R/Bioc and OS you are using.I currently can do the following with no error:
I tried
The console output is as following:
Thank you for your quick reply!
What is the output when you do
In that case the output is
I'm still unable to reproduce this - Could you try reinstalling with
This is indeed strange. By default, when loading the
EnsDb.Hsapiens.v86
all sqlite files in the package'sextdata
folder get bound and exported as a variable. Can you verify that your package contains such an sqlite file?I think this is more of an installation problem than anything. I will try to reinstall R.
Thank you for your help so far!
Yes, looks like that. You could also specifically look in the package libary directory (EnsDb.Hsapiens.v86/extdata) in the path where your library is (which you get with
.libPaths()
in R).Please let me know if re-installation solved the problem.