splitObjects {affyPara}R Documentation

Functions to split objects into parts

Description

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.

Usage

splitAffyBatch(abatch, number.part)
splitFileVector(FileVec, number.part)
splitMatrix(matrix, number.part)

Arguments

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

Details

splitAffyBatch
Splits an AffyBatch into a list of AffyBatches.
splitFileVector
Splits a character vector of file names into a list of character vectors with file names.
splitMatrix
Splits a matrix by columns into a list of matrices.

These functions use the functions splitIndices and splitCols from the SNOW package.

Value

A list of the split objects.

Author(s)

Markus Schmidberger schmidb@ibe.med.uni-muenchen.de, Ulrich Mansmann mansmann@ibe.med.uni-muenchen.de

Examples

library(affyPara)

data(affybatch.example)

spAffyB <- splitAffyBatch(affybatch.example, 2)

[Package affyPara version 1.0.0 Index]