Using the frmatools library in R I would like to create own affybatch Vectors.
I am using the makevectorsaffybatch() function for this but I am receiving the following errors using it:
vec <- makeVectorsAffyBatch(files = listWithCelFiles ,file.dir = fullPathToCelFiles,batch.id = rep(1:200, each = 5))
Error: the following are not valid files:
if I it try this way
vec <- makeVectorsAffyBatch(file.dir = fullPathToCelFiles,batch.id = rep(1:200, each = 5))
I receive the error:
Error in setwd(file.dir) : cannot change working directory
I understand that I cannot change the dir while creating vectors. (All the CEL files are in different subdirectorys , so what could I do for this problem? )
But in general I don't why it says that my files are not valid, I unzipped them to use them but when they were zipped i received the same error.
Can anyone help me out or have some tips for me regarding these problems?
Thanks in advance!