View source: R/arrangeCelFilesByChipType.R
arrangeCelFilesByChipType | R Documentation |
Moves CEL files to subdirectories with names corresponding to the chip types according to the CEL file headers.
For instance, a HG_U95Av2 CEL file with pathname "data/foo.CEL"
will be moved to subdirectory celFiles/HG_U95Av2/
.
arrangeCelFilesByChipType(pathnames=list.files(pattern = "[.](cel|CEL)$"),
path="celFiles/", aliases=NULL, ...)
pathnames |
A |
path |
A |
aliases |
A named |
... |
Not used. |
Returns (invisibly) a named character
vector
of the new pathnames
with the chip types as the names.
Files that could not be moved or where not valid CEL files
are set to missing values.
Henrik Bengtsson
The chip type is inferred from the CEL file header,
cf. readCelHeader
().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.