read_gmt {mulea}R Documentation

Read GMT File

Description

Reads gene set or ontology data from a Gene Matrix Transposed (GMT) file and parse into a data.frame.

Usage

read_gmt(file)

Arguments

file

Character, a path to a file.

Value

Returns a data.frame with three columns:

Examples

# import example gene set
library(mulea)
tf_gmt <- read_gmt(file = system.file(
    package="mulea", "extdata", 
    "Transcription_factor_RegulonDB_Escherichia_coli_GeneSymbol.gmt"))

[Package mulea version 1.0.1 Index]