Description Usage Arguments Examples
View source: R/filename_replace.R
Replace a string in a filename with another string.
1 | filename_replace(filepath = ".", from, to, verbose = TRUE)
|
filepath |
Path to files. Defaults to current directory. |
from |
String to find. |
to |
String to replace it with. |
verbose |
Logical. Should it print descriptions of any changes? |
1 2 3 4 | folder <- "FCS_trimmed"
filename_replace(filepath = folder, from="iptg", to="IPTG")
filename_replace(filepath = folder, from="100ngmlatc", to="100")
filename_replace(filepath = folder, from="_something_", to="_")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.