affy (version 1.50.0)

splitObjects: 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

Value

  • A list of the split objects.

Details

[object Object],[object Object],[object Object] These functions use the functions splitIndices and splitCols from the SNOW package.

Examples

Run this code
library(affyPara)
if (require(affydata)) {
  data(Dilution)

  spAffyB <- splitAffyBatch(Dilution, 2)
}

Run the code above in your browser using DataCamp Workspace