[R] Two questions about metacharacter in regexprs and function return

2011-04-07 Thread Tuexy
for the script, please kindly see the script below. At line 10 and line 13, my problems occurs. The first one is I try to retrieve the gene official name from a column of a table. The pattern of official name is something starting with gene_name. For detail problems, please see the according line

[R] Two questions about metacharacter in regexprs and function return

2011-04-07 Thread Tuexy
for the script, please kindly see the script below. At line 10 and line 13, my problems occurs. The first one is I try to retrieve the gene official name from a column of a table. The pattern of official name is something starting with gene_name. For detail problems, please see the according line