[BioC] Gene names

Seth Falcon sfalcon at fhcrc.org
Mon Nov 7 04:41:21 CET 2005


On  6 Nov 2005, christopher.wilkinson at adelaide.edu.au wrote:

>
> If you want to do this in R, the function you want is strsplit,
> telling it to split on the "|" character. However "|" is special in
> character splitting (regular expressions) so we have to protect it
> with backslashes.

For using strsplit in this way, you can also pass the fixed=TRUE
option and then you do not need to do any escaping.

+ seth



More information about the Bioconductor mailing list