readGMT {rWikiPathways} | R Documentation

## Read GMT File

### Description

Reads any generic GMT file to produce a data frame of term-gene associations useful in enrichment analyses and other applications.

### Usage

    readGMT(file)

### Arguments

`file` | Path to GMT file

### Details

The returned data frame includes only terms and genes. If you want another data frame with terms and names, then see readGMTnames.

### Value

Data frame of term-gene associations

### See Also

readGMTnames

### Examples

    readGMT(system.file("extdata","my_gmt_file.gmt", package="rWikiPathways"))

[Package rWikiPathways version 1.12.0 Index]