Hi, I tried to ran the rWikiPathways Pathway analysis tutorial in Rstudio. However, the code seems to break at the WikiPathways GSEA section for the example dataset (screenshot 1). There are duplicates for the genes as there are 27616 unique genes (screenshot 2), but 31275 found in the gsea.sig.lung.expr object (screenshot 3).
-
Screenshot of the R script where the code breaks (line 273)

-
Screenshot of unique genes

-
Screenshot of all gene names recorded (includes duplicates)

Could you please look into it?
Thank you in advance!