splitObjects {affyPara} | R Documentation |
Functions to split an AffyBatch, a list
of files and a matrix
into several objects for distributed computing. If possible objects will be of the same size.
splitAffyBatch(abatch, number.part) splitFileVector(FileVec, number.part) splitMatrix(matrix, number.part)
abatch |
An object of class AffyBatch. |
FileVec |
A character vector containing the names of the files. |
matrix |
An object of class matrix. |
number.part |
Number of parts to split the object |
splitAffyBatch
splitFileVector
character
vector of file names into a list of character
vectors with file names. splitMatrix
matrix
by columns into a list
of matrices.
These functions use the functions splitIndices and splitCols from the SNOW
package.
A list
of the split objects.
Markus Schmidberger schmidb@ibe.med.uni-muenchen.de, Ulrich Mansmann mansmann@ibe.med.uni-muenchen.de
library(affyPara) data(affybatch.example) spAffyB <- splitAffyBatch(affybatch.example, 2)