readGMT: Read GMT File

View source: R/readGMT.R

readGMTR 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"))
#readGMT("path_to_your_gmt_file.gmt")


wikipathways/rWikiPathways documentation built on Jan. 10, 2024, 11:37 p.m.