Displaying 1 result from an estimated 1 matches for "fl_late".
2012 Oct 12
3
average duplicated rows?
...is data below. In some cases, there are duplicates in the "gene_id" column because there are two different "sample 1" values for a given "sample 2" value. Where these duplicates exist, I need to average the corresponding "FL_EARLY" values and retain the "FL_LATE" value and replace those two rows with a row containing the "FL_EARLY" average so that I no longer have any "gene_id" duplicates.
Seems like this is a job for some version of the apply function, but searching and puzzling over this has not gotten me anywhere. Any help will...