shorten.MSigDB.terms: Shorten MSigDB gene set terms

View source: R/plot.gsea.R

shorten.MSigDB.termsR Documentation

Shorten MSigDB gene set terms

Description

Simplify/shorten MSigDB gene set terms to make them more space economic when plotting.

Usage

shorten.MSigDB.terms(x, maxlen=32, Tolower=TRUE, unchange=FALSE, parms=list())

Arguments

x

a vector of text strings of MSigDB gene set terms.

maxlen

maximum lenth allowed.

Tolower

logic, whether to convert upper case letters to lower case.

unchange

logic, whether to return x unchanged.

parms

a named list specifying the paramter values of maxlen, Tolower, and unchange. Useful when calling inside a function.

Details

See function source code for details.

See Also

plotGseaEnrTable

Examples

shorten.MSigDB.terms('GO_NEGATIVE_REGULATION_OF_ACUTE_INFLAMMATORY_RESPONSE', 
	parms = list(maxlen=40, Tolower=TRUE))

mw201608/GOtest documentation built on May 3, 2023, 11:49 a.m.