This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Has anybody used DOSE package in R?
>computeIC(ont = "DO", organism = "human")
Error: could not find function "computeIC"

>cnetplot.internal(x, showCategory=5, categorySize="geneNum", foldChange=NULL, fixed=TRUE)
Error: could not find function "cnetplot.internal"

Do I need any other package?

dose computeic cnetplot.internal

library(DOSE)?

1 answer

These are un-exported functions, that means they are not exposed to user. All exported functions can be found here: https://github.com/GuangchuangYu/DOSE/blob/master/NAMESPACE

To add, if your _really_ want to use these functions you can use the namespace for the library + triple colons: DOSE:::cnetplot.internal(...). BUT non-exported functions are not documented (so might not do exactly what you think they will) and may well change in the future. It's generally not a good idea to use such functions in your own code. (If there is something you can't do with the exported functions, maybe ask Guangchuang if he can add a user-exposed function for that task)

Log in to answer this question.