String manipulations in R

Steve Simon


As part of my efforts to analyze microarray data, I am finding that I need to do simple string manipulations in R. Here is a list of functions that might help.

There are several functions that will convert one string into another string.

Several functions help find matches between two lists.

Several functions will use regular expressions.

A nice tutorial, by the way, on regular expressions is at:

There are several string manipulation functions found in the limma package, including

You can find an earlier version of this page on my website.