Question: Affymetrix probesets to Gene symbols
0
gravatar for mannoulag1
11 days ago by
mannoulag160
mannoulag160 wrote:

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

rna-seq R gene • 71 views
ADD COMMENTlink modified 11 days ago • written 11 days ago by mannoulag160
1
gravatar for patelk26
11 days ago by
patelk26100
patelk26100 wrote:

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

ADD COMMENTlink modified 11 days ago • written 11 days ago by patelk26100

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

ADD REPLYlink modified 11 days ago • written 11 days ago by mannoulag160
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1323 users visited in the last hour