The dataset I need is _E-MTAB-1803_. First I downloaded all files use wget
. My code and error:
> library(ArrayExpress, quietly=TRUE)
> dlExp <- getAE(accession="E-MTAB-1803", path=".", local=TRUE, sourcedir=".")
Unpacking data files
> str(dlExp)
List of 8
$ path : chr "."
$ rawFiles : chr [1:170] "FR_1_U133_2.CEL" "FR_100_U133_2.CEL" "FR_103_U133_2.CEL" "FR_106_U133_2.CEL" ...
$ rawArchive : chr [1:6] "E-MTAB-1803.raw.1.zip" "E-MTAB-1803.raw.2.zip" "E-MTAB-1803.raw.3.zip" "E-MTAB-1803.raw.4.zip" ...
$ processedFiles : chr [1:2] "Bladder-RI-rma.txt" "Bladder-RI-CGH-norm.txt"
$ processedArchive: chr "E-MTAB-1803.processed.1.zip"
$ sdrf : chr "E-MTAB-1803.sdrf.txt"
$ idf : chr "E-MTAB-1803.idf.txt"
$ adf : chr [1:2] "A-AFFY-44.adf.txt" "A-GEOD-16070.adf.txt"
> rawset <- ae2bioc(dlExp)
ArrayExpress: Reading pheno data from SDRF
Error in .subset2(x, i, exact = exact) : subscript out of bounds
I don't know what value can I parse to param dataCols
of function ae2bioc
. Reference said:
by default, the columns are automatically selected according to the scanner type. If the scanner is unknown or if the user wants to use different columns than the default, the argument ’dataCols’ can be set. For two colour arrays it must be a list with the fields ’R’, ’G’, ’Rb’ and ’Gb’ giving the column names to be used for red and green foreground and background. For one colour arrays, it must be a character string with the column name to be used. These column names must correspond to existing column names of the expression files.
I checked all the file I download and is fine.