This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Affymetrix probesets to Gene symbols

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 answer

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

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

Log in to answer this question.