ReactomePA list of pathway plots
0
0
Entering edit mode
@d27aed9d
Last seen 2.3 years ago
Germany

Hi,

I'm using ReactomePA and I want to create a list of all reactome pathway of the GO term analysis.

gsepa <- gsePathway(geneList, 
           organism = "mouse", 
           exponent = 1, 
           minGSSize = 10, 
           maxGSSize = 500, 
           pvalueCutoff = "none", 
           pAdjustMethod = "BH", 
           verbose = TRUE, 
           seed = FALSE)
go.df <- data.frame(gsepa)
go.df  <- lsr::sortFrame(go.df, pvalue)
GOList <- vector('list', nrow(go.output))

for (i in 1:length(go.df$Description)) {
GOList[[i]] <- viewPathway(go.df$Description[[i]], 
            readable = TRUE, 
            organism = "mouse",
            foldChange = geneList) 
}

I get following error

Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘convertIdentifiers’ for signature ‘"NULL"’

Any ideas how to solve this? When I run the viewPathway function individually the plots appear, so I assume it's something with my loop.

Thanks!

ReactomePA • 763 views
ADD COMMENT

Login before adding your answer.

Traffic: 468 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6