DOSE R package
Hi,
How can I get a list of DO terms assigned to a disease using DOSE please? So for Alzheimer's (DOID:10652) how can I access them?
I have a partial answer to my question by taking some functions and the environment variable from the defunct DOSim package still on (GItHub). The getAncestors() function more or less achieves my aims but I suspect the DO data is quite old and would be interested in seeing if DOSE has similar functions.
Thanks
Ken
• 2,954 views
•
link
1 answer
Please tag your post with the package name, dose, so that the package author, me :), can receive email notification.
> library(DO.db)
> get("DOID:10652", DOANCESTOR)
[1] "DOID:680" "DOID:863" "DOID:4" "DOID:1289" "DOID:331" "DOID:7"
• 1 views
•
link
Log in to answer this question.
Many thanks Guangchuang this works fine!