Affymetrix probesets to Gene symbols
1
0
Entering edit mode
5.1 years ago
mannoulag1 ▴ 120

Hi I have a expression data matrix 'mat' and I would like to replace the affymetrix probes with the gene symbols. I did this code:

library(hgu95av2.db) 
    x <- hgu95av2SYMBOL
    # Get the probe identifiers that are mapped to a gene symbol
    mapped_probes <- mappedkeys(x)
    xx <- as.list(x[mapped_probes])
    names <-merge(x,mat,by.x=1,by.y=0)

but how can I obtain the data matrix with only the symbols? with the code I obtained a lower size data matrix 'names' with the affy probes id and the symboles? how to remove the probes id from this matrix? thank you

R RNA-Seq gene • 1.3k views
ADD COMMENT
1
Entering edit mode
5.1 years ago
patelk26 ▴ 320

You can find your answer here: Annotate Affymetrix probesets to Gene symbols

ADD COMMENT
0
Entering edit mode

I will try it, thank you, I edit the question

ADD REPLY

Login before adding your answer.

Traffic: 1544 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