read_GMT_file: Read GMT file.

Description Usage Arguments Details Value Examples

View source: R/read_GMT_file.R

Description

This functions reads a (tab-delimited) GMT file which contains the gene set name in the first column, the gene set description in the second column, and the gene names in the following columns.

Usage

1

Arguments

file

Path to GMT file.

Details

Read GMT file.

Value

Returns an object in the same format as from the GSA.read.gmt function (GSA package) with gene sets, gene set names, and gene set descriptions stored in lists.

Examples

1
2
3
my_gmt <- read_GMT_file(
  file = 'path/to/my/gene_sets.gmt'
)

romanhaa/cerebroPrepare documentation built on Oct. 17, 2019, 4:01 p.m.