cran / GOxploreR

:exclamation: This is a read-only mirror of the CRAN R package repository. GOxploreR — Structural Exploration of the Gene Ontology (GO) Knowledge Base
1 stars 0 forks source link

unable to find an inherited method for function ‘Ontology’ for signature ‘"logical"’ #1

Closed char4816 closed 2 years ago

char4816 commented 2 years ago

Dear authors of GOxploreR,

Thank you for making this tool. I am running into the following error when I run distRankingGO()

library(GOxploreR)
#running the goterms from the vignette works great:
Terms <- c("GO:0000278","GO:0006414","GO:0022403","GO:0006415","GO:0006614",
           "GO:0045047","GO:0072599","GO:0006613","GO:0000184","GO:0070972",
           "GO:0006413","GO:0000087","GO:0000280","GO:0000279","GO:0006612",
           "GO:0000956","GO:0048285","GO:0019080","GO:0019083","GO:0043624",
           "GO:0006402","GO:0032984","GO:0006401","GO:0072594","GO:0019058",
           "GO:0051301","GO:0016071","GO:0006412","GO:0002682","GO:0022411",
           "GO:0001775","GO:0046649","GO:0045321","GO:0050776","GO:0007155",
           "GO:0022610","GO:0060337","GO:0071357","GO:0034340","GO:0016032",
           "GO:0044764","GO:0006396","GO:0010564","GO:0002684","GO:0006259",
           "GO:0051249","GO:0045087")
GOxploreR::distRankingGO(goterm = Terms, domain = "BP", plot = T)
#this returns the plot that is shown in the manuscript

#however running most other lists of goterms returns an error
#for example, I tried using this list of goterms
Terms <- c("GO:0006919", "GO:0008635", "GO:0002223", "GO:0031145", "GO:0031146", 
           "GO:0061418", "GO:0060260")
GOxploreR::distRankingGO(goterm = Terms, domain = "BP", plot = T)
#and I keep getting the following error for most lists of goterms that I try
#Error in (function (classes, fdef, mtable)  : 
  #unable to find an inherited method for function ‘Ontology’ for signature ‘"logical"’

Thank you, Chris

gaborcsardi commented 2 years ago

Hi, this is a read only mirror of CRAN, please see the package authors in the DESCRIPTION file. Look for Maintainer, BugReports and URL. Thanks!