Changing the .gmt file output format
0
0
Entering edit mode
8 weeks ago

Hello everyone! I'm following a tutorial for ClusterProfiler where I have to read a .gmt file in R using this command:

pwl1 <- read.gmt(file)

However, when I check the pwl1 file, it looks like this:

enter image description here

The output for this file on the video that I saw only has two columns (term and gene). From my understanding, that's how a .gmt file would look like normally. My file looks like a list of different vectors each has a list of gene names. I have been trying to search for a solution but found nothing. Can anyone pin point what the problem is or how to fix it? or a specific error term for this issue so I can do another google search?

Thanks in advance!

gmt • 241 views
ADD COMMENT
0
Entering edit mode

Please show us your sessionInfo() and mention which library the function read.gmt() is from.

ADD REPLY

Login before adding your answer.

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