How to remove duplicated genes from a count expression data frame by mean expression
0
0
Entering edit mode
3.1 years ago
BioQueen ▴ 30

Hi! I have a gene expression data frame consisting of count data with rownames as ensembl ids and colnames as samples in addition to one column which consist of the gene symbols.

I need the gene symbols as rownames to further analysis, but when I try to make the gene symbol into the rownames then I get an error message that says that I have duplicate genes. I have tried to search a bit, but I'm new to programming in R. I have seen some that collapses the duplicates and used max, but I want to use the mean value. Is there anyone who know how I can do this in R?

Thanks a lot!

duplicated-genes Mean-expression • 599 views
ADD COMMENT

Login before adding your answer.

Traffic: 2756 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6