powered by
Sample names in eemlist can be altered.
eem_name_replace(eem_list, pattern, replacement)
An eemlist.
data of class eemlist
character vector containing pattern to look for.
character vector of replacements. Has to have the same length as pattern
str_replace_all from package stringr is used for the replacement. Please read the corresponding help for further options.
str_replace_all
eem_names(eem_list) eem_list <- eem_name_replace(eem_list,"sample","Sample") eem_names(eem_list)
Run the code above in your browser using DataLab