simplifyEnrichment
simplifyEnrichment copied to clipboard
Error simplifyGOFromMultipleLists() version 1.8
Dear simplifyEnrichment team,
I am trying to use the simplifyGOFromMultipleLists() function of package version 1.8.0, but I get the following error:
Error in apply(mm[index, ], 2, function(x) sum(x >= transform(padj_cutoff))) : dim(X) must have a positive length
The code I am using is:
terms.A = c("GO:0007409", "GO:0060592", "GO:2000288", "GO:0018401", "GO:0071679", "GO:0021932", "GO:0015918", "GO:0048488", "GO:0060078", "GO:0046777")
terms. B = c("GO:0007409", "GO:0051272", "GO:0051412", "GO:0021762", "GO:2000977", "GO:0014012", "GO:1900242", "GO:0098974", "GO:0001525", "GO:0060052", "GO:0010248", "GO:0048488", "GO:0051092", "GO: 0009409", "GO:0086064", "GO:0051131", "GO:0010894", "GO:0042026", "GO:0007420", "GO:0032092", "GO:0045744", "GO:0071277", "GO:1903416", "GO:0002428", "GO:0048662", "GO:0048167", "GO:0006883", "GO:2000300")
terms = list("terms.A" = terms.A, "terms.B" = terms.B)
s = simplifyGOFromMultipleLists(terms, ont = "BP", db = 'org.Hs.eg.db', measure = "Rel")
However, when I use the same function with the code of version 1.6 (version where barplots cannot be obtained) I don't get any error.
I was wondering if I have misunderstood the usage of this function or if this is a bug to report.
Any help would be appreciated. Thanks you in advance!
Best wishes, Ir