Hello,
I performed an analysis of differential expression with SAM method, obtaining the genes that are up and down. I used these scripts:
> samfit = SAM(exprdc, group, resp.type="Two class unpaired", fdr.output=.01)
> sigSAM_low = as.numeric(samfit$siggenes.table$genes.lo[ ,2])
> sigSAM_up = as.numeric(samfit$siggenes.table$genes.up[ ,2])
> sigSAM = append(sigSAM_up, sigSAM_low)
> ID = featureNames(arraysdc.rma)[sigSAM]
> ID[ID == "NA"] = NA
The next point was put the name of these genes, for it I saw the annotation and load the library:
> source("http://bioconductor.org/biocLite.R")
> biocLite("pd.hugene.2.0.st")
> library(pd.hugene.2.0.st)
Annotation loaded, the next step was to name the genes, but:
> symbol = as.character(lookUp(ID, "pd.hugene.2.0.st", "SYMBOL"))
Error in mget(x, envir = getAnnMap(what, chip = data, load = load), ifnotfound = NA) : error in evaluating the argument 'envir' in selecting a method for function 'mget': Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘columns’ for signature ‘"AffyGenePDInfo"’
And I can't do to get the names of the genes... I think that the problem is the annotation "pd.hugene.2.0.st" but I don't know.
Sorry for the inconvenience, and thank very much for the help.
Santi.
You were right.
Finally I obtained the Gene symbols and names ;)
Thank you very much for all!!
Santi.