Hi ,
In a RSEM output table I have 64 columns and 24833 rows. In that I have some duplicate row names, I want to remove the duplicates by sum up those duplicated rows (corresponding all 64 columns), here row names are gene names and column names are sample name. I am new to R, can you please help me with R code for this.
> all <-read.table(file="tpmat.xls",header=T)
> dim(all)
[1] 24833 64
How to sum up the duplicated value while keep the other columns?
Play with suggestions in this thread. It should work.