Learn R Programming

GSNA (version 0.1.4.2)

tmod2gsc: tmod2gsc

Description

Function takes a tmod or tmodGS object and converts it to a gene set collection. In the case of a tmod object, the function merely extracts the $MODULES2GENES list of character vectors. In the case of tmodGS objects, the list of vectors of numeric gene identifiers in $gs2gv is converted to a named list of character vectors of gene names.

Usage

tmod2gsc(tmod)

Value

The function returns a gene set collection as a named list of character vectors containing gene names.

Arguments

tmod

: a tmod or tmodGS object.

See Also

gsc2tmod()