eem_name_replace {staRdom} | R Documentation |
Replace matched patterns in sample names
Description
Sample names in eemlist can be altered.
Usage
eem_name_replace(eem_list, pattern, replacement)
Arguments
eem_list |
data of class eemlist |
pattern |
character vector containing pattern to look for. |
replacement |
character vector of replacements. Has to have the same length as pattern |
Details
str_replace_all
from package stringr is used for the replacement. Please read the corresponding help for further options.
Value
An eemlist.
See Also
Examples
eem_names(eem_list)
eem_list <- eem_name_replace(eem_list,"sample","Sample")
eem_names(eem_list)
[Package staRdom version 1.1.28 Index]