readGMT: Read a gmt (gene matrix transposed) file

Description Usage Arguments Value Author(s)

Description

Reads a gmt (gene matrix transposed) file as provided by mSigDB or geneSigDB, to an R list object. Function by Levi Waldron.

Usage

1
readGMT(fname, name.column = 1)

Arguments

fname

fully specified path to a .gmt file, ie from mSigDB or geneSigDB

name.column

name.column = which column to use for names (typically 1 or 2).

Value

a list object where each element is a string of genes, and the elements are named by the first column of the .gmt file.

Author(s)

Levi Waldron and Markus Riester


lwaldron/LeviRmisc documentation built on May 21, 2019, 8:59 a.m.