search for: fl_ear

Displaying 1 result from an estimated 1 matches for "fl_ear".

Did you mean: clear
2012 Oct 12
3
average duplicated rows?
...at I need. I'm pasting an example of this 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 th...