Entering edit mode
Hi all,
I have a problem during I try to read CEL files ReadAffy() , my code was:
> data<-ReadAffy() Error in read.celfile.header(as.character(filenames[[1]])) : Is C:/Users/SONY/Documents/myproject/CEL/~$M187272.CEL really a CEL file? tried reading as text, gzipped text, binary, gzipped binary, command console and gzipped command console formats
And
> sessionInfo() R version 3.2.2 (2015-08-14) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1 locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 LC_NUMERIC=C [5] LC_TIME=English_United States.1252 attached base packages: [1] parallel stats graphics grDevices utils datasets methods base other attached packages: [1] affy_1.48.0 Biobase_2.30.0 BiocGenerics_0.16.1 BiocInstaller_1.20.3 loaded via a namespace (and not attached): [1] zlibbioc_1.16.0 tools_3.2.2 affyio_1.40.0 preprocessCore_1.32.0
Any advice please?
Regards.
Tahani.H
Have a look at the error message, it points to a file ~$M187272.CEL whose name looks like a temporary file generated by a Windows application. Try removing it, and generally please clean up the directory so that it only contains valid CEL files.
You can also give the names of the CEL files to ReadAffy() directly, this a more robust way to call that function.
Hi Wolfgang Huber , thank you for your answer . I really did what you did explain above , but it still giving an error !!
Even I put the CEL files in a separated folder and remove all other files !!!
How can I give the names of the CEL files to ReadAffy() directly according to my CEL files above , please?
Regards.
Tahani.H