Hi

 

Please could someone let me know what format I need to read a file in to use
mget. When I try read.table from a .txt file I get the following error but
it all works fine whenI type in the Ids individually.

 

> probeIds <- read.table("mock4hrids.txt")

> probeIds[1:5,1]

[1] 206641_at   204805_s_at 218032_at   200800_s_at 201010_s_at

1926 Levels: 200004_at 200042_at 200046_at 200049_at 200053_at ...
91816_f_at

> chrObj <- buildChromLocation("hgu133a")

> cPlot(chrObj)

> cColor(probeIds, "red", chrObj)

Error in mget(x, envir, mode, ifnotfound, inherits) : 

        invalid first argument

> probeIds2 <-
c("206641_at","204805_s_at","218032_at","200800_s_at","201010_s_at")

> cColor(probeIds2, "red", chrObj)

> sessionInfo()

R version 2.2.1, 2005-12-20, sparc-sun-solaris2.9 

 

attached base packages:

[1] "tools"     "methods"   "stats"     "graphics"  "grDevices" "utils"    

[7] "datasets"  "base"     

 

other attached packages:

geneplotter    annotate     hgu133a  hgu133acdf       limma        affy 

    "1.8.0"     "1.8.0"    "1.10.0"    "1.10.0"     "2.4.7"     "1.8.1" 

    annaffy        KEGG          GO     Biobase 

    "1.2.0"    "1.10.0"    "1.10.0"     "1.8.0" 

 

 

Many thanks,

 

Helen


	[[alternative HTML version deleted]]

