Displaying 1 result from an estimated 1 matches for "11a_1109".
2009 Sep 19
3
Replacing values in dataframes
Hi,
This is a question of a newbie getting into the exciting world of R.
I have several dataframes in the same format as NAD:
> NAD[1:3,1:3]
Sample.Id Main.abs..1 Main.abs..2
148 10a 0.04836 0.04994
167 11a_1109 0.32245 0.36541
173 11b_1109 0.29293 0.32815
What I want to do is to replace the Sample.Id with a corresponding number.The number i have in another file,called Prot.amount
> Prot.amount[1:3,1]
10a 11a_1109 11b_1109
15.516 38.248 42.297
> row.names(NA...