I have a data frame like this:
feature_id  mouse_number  value
P1001       1             8.55
P1001       2             6.50
P1001       3             2.48
P1001       4             9.01
P1002       1             4.41
P1002       2             4.91
P1002       3             5.86
P1002       4             1.89
...
I want the data to read like:
mouse_number   P1001    P1002   ...
1              8.55     4.41
2              6.50     4.91
3              2.48     5.86
4              9.01     1.89
Please assist, thanks!