eem_name_replace: Replace matched patterns in sample names

Description Usage Arguments Details Value See Also Examples

Description

Sample names in eemlist can be altered.

Usage

1

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

str_replace_all

Examples

1
2
3
4
eem_names(eem_list)

eem_list <- eem_name_replace(eem_list,"sample","Sample")
eem_names(eem_list)

jakehosen/stardom_aqualog documentation built on May 14, 2019, 3:06 a.m.