[BioC] question on SPIA pavkage application

Freudenberg, Johannes (NIH/NIEHS) [E] johannes.freudenberg at nih.gov
Wed Aug 24 19:34:14 CEST 2011

Hi Jing,

I'm not sure how you got from here:

>[1]  4.80  3.27  2.65  2.63  3.03 -3.41

which look like log2 fold changes to me, to here, a character vector:

>[1] "11535" "20525" "11839" "15277" "11910" "18639"

However, that seems to be the problem.  In the error message is clearly says that you need "a vector of log2 fold changes", not a character vector.  


-----Original Message-----
From: Jing Huang [mailto:huangji at ohsu.edu] 
Sent: Wednesday, August 24, 2011 1:22 PM
To: 'bioconductor at r-project.org'
Subject: [BioC] question on SPIA pavkage application

Thank You so much for all of you.

I tried and it works on previous problem.

Now I am having another problem. I am so sorry for not being able to solve problems myself. Can somebody advise me?

Here is the R to follow SPIA package:




>x$ENTREZ=toTable(mgu74av2ENTREZID)[match(x$ID,toTable(mgu74av2ENTREZID)[, 1]), 2]






[1]  4.80  3.27  2.65  2.63  3.03 -3.41

At this step: I should received a outcome like this:

     11535  20525   11839  15277   11910    18639

[1]  4.80   3.27    2.65    2.63    3.03    -3.41



[1] "11535" "20525" "11839" "15277" "11910" "18639"


Error in spia(de = WThypo, all = WThypo1, organism = "mmu", nB = 2000,  :

  de must be a vector of log2 fold changes. The names of de should be included in the refference array!

I am not sure what I did wrong. I didn't have issue with this procedure before.

Many Many Thanks

	[[alternative HTML version deleted]]

Bioconductor mailing list
Bioconductor at r-project.org
Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor

More information about the Bioconductor mailing list