readGmt2: Function for reading a GMT file of gene set collection

Description Usage Arguments Examples

Description

This function reads a gene set collection GMT file, and stores the output in a list of genesets, geneset.names, and geneset.descriptions. This version is adapted from the GSA package by Robert Tibshirani, with some modifications with respect to the possible empty cells, making it more efficient.

Usage

1
readGmt2(fname)

Arguments

fname

File name of the .gmt file. The format of the file should be: 1.Column=Geneset Name ; 2.Column=Geneset Description ; 3.-N.Column=GENE SYMBOLS

Examples

1
jkr.list <- readGmt(fname = "./KruegerSYMBOL.gmt")

mssm-msf-2019/BiostatsALL documentation built on May 22, 2019, 12:16 p.m.