BioQC R package issue with broad gmt files
0
0
Entering edit mode
Seymoo • 0
@seymoo-12522
Last seen 10 weeks ago
Oslo

I am trying to use a gmt file from broad with wmwTest instead of the gmt file included in the package, but I get `Error in FUN(X[[i]], ...) : index must be either integer vector` in R. I tried to ways of importing the gmt file as below, none were successful.

`gmt <- Sys.glob("E:/files/Rspace/geneset.gmt")
gmt<- read.gmt(gmt)`

and
`gmt <- Sys.glob("E:/files/Rspace/geneset.gmt")

gmt<- getGmt(gmt)`

gmt files can be found here http://software.broadinstitute.org/gsea/downloads.jsp
 

How can I possibly fix this problem?

R BioQC gmt GSEA • 1.3k views
ADD COMMENT
0
Entering edit mode

Problem Solved by using `readGmt`
`gmt <- Sys.glob("E:/files/Rspace/geneset.gmt")`
`gmt <- readGmt(gmt)`

ADD REPLY

Login before adding your answer.

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