Description Usage Arguments Details Value Author(s) Examples
A function to truncate names
1 | truncateName(groupname, roundDigits = 2, group = FALSE)
|
groupname |
|
roundDigits |
|
group |
|
groupname
is a vector of character
strings consisting
of a group, retention time and m/z value, separated by "_". It is
cumbersome to display such long strings. truncateName
truncates these strings by rounding retention time and m/z values by
digits given by roundDigits
. truncateName
is an
internal function.
truncateName
returns groupname with truncated names
without group)
Thomas Naake, thomasnaake@googlemail.com
1 2 | groupname <- "a_100.12345/10.12345"
truncateName(groupname, roundDigits = 2, group = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.