Skip to content

how to extract word before /// in a data frame contain many thousands rows.

1 message · Uwe Ligges

#
On 01.08.2014 07:28, arun wrote:
Or without additional packages and if you want to keep all information 
from the other rows of your data.frame:

gsub(" *///.*$", "", dat$Gene.Symbol)

Best,
Uwe Ligges