[BioC] Applying bioconductor functions to files in different Windows directories
Mark Robinson
mrobinson at wehi.EDU.AU
Mon Dec 8 21:32:49 CET 2008
Hi.
How about an alternative. Something like:
fn <- dir(".","CEL",recursive=TRUE)
(e.g. replace "." with your directory "C:\\RawArrayData ...")
x <- ReadAffy(filenames=fn)
Cheers,
Mark
On 09/12/2008, at 6:07 AM, Ruppert Valentino wrote:
>
> Hello,
> I would be grateful for any help or advise on the
> following issue.
>
> I have affy files in different directories and want to point
> ReadAffy() to read files from all directories.
> Is there a way I can do this via setwd but in a loop and if so how?
>
> For example can I say :
>
> setwd("C:\\RawArrayData\\Cel Files\\U133\\*")
> X <- ReadAffy()
>
>
> Also similarly, I wrote a function that annotate files in separate
> directories. Can I run that on the root and get it to annotate all
> files below
> the root directory in windows i.e. the children of the root directory.
>
>
> Many Thanks,
>
>
> _________________________________________________________________
> Imagine a life without walls. See the possibilities.
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
------------------------------
Mark Robinson
Epigenetics Laboratory, Garvan
Bioinformatics Division, WEHI
e: m.robinson at garvan.org.au
e: mrobinson at wehi.edu.au
p: +61 (0)3 9345 2628
f: +61 (0)3 9347 0852
More information about the Bioconductor
mailing list