[R] R grep question

Kai Yang y@ngk@|9999 @end|ng |rom y@hoo@com
Thu May 27 06:29:10 CEST 2021

Hi List,
I wrote the code to create a new variable:

I need to create MMR.gene column in CRC data frame, ifgene.all column contenes MLH1 or MSH2, then the MMR.gene=Yes, if not,MMR.gene=No

But, the code doesn't work for me. Can anyone tell how to fix the code?

Thank you,

	[[alternative HTML version deleted]]

More information about the R-help mailing list