protectMetachar package:limma R Documentation _P_r_o_t_e_c_t _M_e_t_a_c_h_a_r_a_c_t_e_r_s _D_e_s_c_r_i_p_t_i_o_n: Add backslashes before any metacharacters found in a string. _U_s_a_g_e: protectMetachar(x) _A_r_g_u_m_e_n_t_s: x: character vector _D_e_t_a_i_l_s: This function is used to protect strings containing metacharacters so that the metacharacters can be treated as ordinary characters in string matching functions operations. _V_a_l_u_e: A character vector of the same length as 'x' in which two backslashes have been inserted before any metacharacter. _A_u_t_h_o_r(_s): Gordon Smyth _S_e_e _A_l_s_o: An overview of LIMMA functions for reading data is given in 03.ReadingData. _E_x_a_m_p_l_e_s: # without protectMetachar, this would be no match grep(protectMetachar("Ch1 (mean)"),"Ch1 (mean)")