split_featname: split_featname(featname = NULL, thresh_featname_split = 40)

View source: R/useful_functions.R

split_featnameR Documentation

split_featname(featname = NULL, thresh_featname_split = 40)

Description

For a feature name (or any string, for that matter) will add a carriage return (\n) to the middle of the string if it exceeds the threshold number of characters. This is used in the heatmap function.

Usage

split_featname(featname = NULL, thresh_featname_split = 40)

johnmcculloch/JAMS_BW documentation built on April 30, 2024, 8:09 p.m.