I have a dataframe with a first column contains the gene symbol and the others column contains an expression values. the Column of symbol can contain the same symbol more then one time.
So I would like for each set of line with the same symbol calculate the average (or median) of the lines. I will have only a single line by gene in the end.
Thank you in advance