search for: relexpressions

Displaying 1 result from an estimated 1 matches for "relexpressions".

Did you mean: regexpressions
2010 Dec 07
3
Changing names of a string variable
Hello, Here is the data set I am working with: dat=read.csv('http://dl.dropbox.com/u/1852742/relexpressions.csv') names(dat) #Under the 'target' column, I want to change all of the values into all capital letters (e.g. fgf2 becomes FGF2). I have taken a loop approach but I think my Python background is confusing me. Here is what I attempted: for(line in dat[,1]){if(line=='fgf2'){l...