topGO error "No function to select the significant genes provided!"
1
0
Entering edit mode
megerdes ▴ 40
@megerdes-8157
Last seen 9.5 years ago
United States

Hello,

I've been trying to familiarize myself with Bioconductor and have been going through the tutorial in the PDF of "Gene set enrichment with topGO". However, when I enter 

 

sampleGOdata <- new("topGOdata",
                    description="Simple Session", ontology ="BP",
                    allGenes = geneList, geneSe1 = topDiffGenes,
                    nodeSize=10,
                    annot = annFUN.db, affyLib = affyLib)

 

I am given the error:

 

Error in checkAtAssignment("topGOdata", "geneSelectionFun", "NULL") : 
  assignment of an object of class “NULL” is not valid for @‘geneSelectionFun’ in an object of class “topGOdata”; is(value, "function") is not TRUE
In addition: Warning message:
In .local(.Object, ...) :
  No function to select the significant genes provided!

 

Has anyone encountered a similar problem or know how to go about fixing this? Any recommendations would be greatly appreciated!

Thank you! 

topgo • 2.4k views
ADD COMMENT
0
Entering edit mode

Please show the example of your geneList and topDiffGenes

ADD REPLY
3
Entering edit mode
@james-w-macdonald-5106
Last seen 1 day ago
United States

You have a typo. The argument is geneSel, with a lower case L, not geneSe1, with a one.

ADD COMMENT
1
Entering edit mode

Thank you so much! 

ADD REPLY

Login before adding your answer.

Traffic: 509 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