Entering edit mode
In the course of following an online introduction to AnnotationHub, I came across the following code:
library("AnnotationHub") ah <- AnnotationHub() orgs <- subset(ah, ah$rdataclass == "OrgDb")
This provides me with data from 1145 organisms, but missing are such important organisms as "Homo sapiens" and "Mus musculus". Why is this?
Thank you.
Eric
Hi Valerie,
Here is my sessionInfo():
I'm not sure which version of AnnotationHub I'm using. How do I determine that? Regardless, I think it must be up to date because I downloaded it just yesterday using biocLite.
Could my problem be that I specified rdataclass to be "OrgDb"? I did so because I was following a tutorial here:
https://www.bioconductor.org/help/workflows/annotation/Annotation_Resources/
They did so to obtain information about the European rabbit ("Oryctolagus"), but when I followed along with the same instructions but instead specified Mus musculus, it didn't have information for that. And when I look in the orgs variable I created as shown above, per the instructions in the tutorial, I have 1145 entries, none of which is human or mouse.
Thanks.
Eric
P.S. Here are the some of the length commands you entered using my orgs, which was created as described above:
Thanks for showing the output. Your sessionInfo() output shows the version of AnnotationHub (code) you're using and the snapshotDate() shows the date when data in the db were last changed.
Several weeks ago we had a problem with the OrgDbs not being tagged with the correct biocVersion. The problem was fixed in October, probably after the snapshotDate of 2015-08-26 that you're using. The most recent snapshotDate is 2015-11-19 (shown in my output).
The data should automatically update when you load the package and create a new hub object in a fresh session:
You should see the 2015-11-19 date included in
possibleDates(ah)
. If they data don't update and you are still having problems you can try removing the cache - see?removeCache
.Valerie
Hi Valerie,
That fixed it. Thanks so much for the help.
Eric