parse_a_line_in_gmt: Parse a line in 'gmt' format

Description Usage Arguments Value Author(s) Examples

Description

This function parses a line of string in 'gmt' format, for example a line in a MSigDB file.

Usage

1

Arguments

aLine

a string in 'gmt' format. There are assumed three main elements. Each element is 'tab' delitmeted. The first item is a name, the second item is 'url' or something like that, and the last item is a list of genes, separated by 'space'.

Value

a list of three elements: name, url, geneset

Author(s)

Seungchan Kim (dolchan@gmail.com)

Examples

1
parse_a_line_in_gmt('a_name\tan_url\tgene1 gene2 gene3')

dolchan/ssgsrt documentation built on May 15, 2019, 9:44 a.m.