Displaying 2 results from an estimated 2 matches for "62m23".
Did you mean:
6223
2007 Nov 29
2
How to take the ave of two rows in a data frame
> Dear list,
> I have a data frame like:
>
> > log2.ratios[1:3,1:4]
> ID a1 a2 a3
> 1 GS1-232B23 -0.0207500 0.17553833 0.21939333
> 2 RP11-82D16 -0.1896667 0.02645167 -0.03112333
> 3 RP11-62M23 -0.1761700 0.08214500 -0.04877000
> 4 RP11-62M23 0.2761700 -0.15214500 -0.05877000
>
the 3rd and 4th rows are of the same ID, I would like to take the avarage of
these
two rows and get the data frame to:
ID a1 a2 a3
1 GS1-232B23...
2007 Nov 29
2
How to manipulate a data frame
Dear list,
I have a data frame like:
> log2.ratios[1:3,1:4]
Clone a1 a2 a3
1 GS1-232B23 -0.0207500 0.17553833 0.21939333
2 RP11-82D16 -0.1896667 0.02645167 -0.03112333
3 RP11-62M23 -0.1761700 0.08214500 -0.04877000
how to make it to look like:
> log2.ratios[1:3,1:4]
a1 a2 a3
a4
GS1-232B23 -0.0207500 0.17553833 0.21939333 0.0008
RP11-82D16 -0.1896667 0.02645167 -0.03112333 0.007
RP11-62M...