stackName: Stack Name for Plot

View source: R/stackName.R

stackNameR Documentation

Stack Name for Plot

Description

Given a string with a lot of a certain delimiter, replace that delimiter with \n in certain spots. Made for MsigDB GO pathway names, but use where applicable.

Usage

stackName(x_v, delim_v = "_")

Arguments

x_v

long string with delimiter

delim_v

delimiter, usually _ for msigdb names

Value

same string, but a few of delim_v replaced with newline


weshorton/wrh.rUtils documentation built on Oct. 28, 2024, 7:24 a.m.