Description Usage Arguments Value
Utility for shorter names Useful when plotting per-feature figures where feature names could be cutoff
1 | shorten_name(x, cutoff = 3, replacement = "..")
|
x |
vector of names |
cutoff |
number of maximum string length before start cutting off the middle |
vector of new names with .. replacing the middle part if name is longer than cutoff
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.