ReadGMT: ReadGMT

Description Usage Arguments Value Author(s) Examples

View source: R/readGMT.R

Description

Parse gmt file to a data.frame

write data frame to a gmt file

Usage

1
2
3
ReadGMT(gmtpath, limit = c(0, Inf))

writeGMT(gene2path, gmtfile)

Arguments

gmtpath

The path to gmt file.

limit

A integer vector of length two, specifying the limit of geneset size.

gene2path

A data frame. The columns should be Gene, Pathway ID, and Pathway Name.

gmtfile

Path to gmt file.

Value

An data.frame, in which the first column is gene, and the second column is pathway name.

Output gmt file to local folder.

Author(s)

Wubing Zhang

Wubing Zhang

Examples

1
2
gene2path = gsGetter(type = "Complex")
# writeGMT(gene2path, "Protein_complex.gmt")

MAGeCKFlute documentation built on Nov. 8, 2020, 5:40 p.m.