Description Usage Arguments Details Value Author(s) See Also Examples
Add backslashes before any metacharacters found in a string.
1 |
x |
character vector |
This function is used to protect strings containing metacharacters so that the metacharacters can be treated as ordinary characters in string matching functions operations.
A character vector of the same length as x
in which two backslashes have been inserted before any metacharacter.
Gordon Smyth
An overview of LIMMA functions for reading data is given in 03.ReadingData.
1 2 | # without protectMetachar, this would be no match
grep(protectMetachar("Ch1 (mean)"),"Ch1 (mean)")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.