Hi all,
This is perhaps very basic to the R pros, but I was wondering how I could assign a variable, say "control" to a string of sorts. For example:
"musclenormal15494"
"musclenormal15497"
"musclenormal15501"
My interest is in the muscle_normal part and since it's quite a list, it will be quite hectic to assign each one individually.
Any suggestions will be greatly appreciated.
Thanks.
-Avoks
Hi, Sorry its unclear to me, do you have list with strings given above stored in it, and you want to filter the ones starting with muscle_normal and store it in other list!!
Hi Sukhdeep. These are gse18732 data I extracted from GEO using getGEO. I'm running a limma analysis and trying to assign the different cases to the 3 test levels, T2D, IGT and Control(normal) so that I can create an appropriate cont. matrix. I usually use a different "channel" but for this particular study the channels are quite confusing and the "title" seemed to be the most straightforward but it comes with the numbers, hence my question.